timjrd / popcorntime.nix

Popcorn Time package for NixOS
Apache License 2.0
6 stars 2 forks source link

Update to version 0.4.4 #4

Open onny opened 4 years ago

onny commented 4 years ago

Hey, thank you for packaging this app. Looks really complex. Would it be possible to update to version 0.4.4 of Popcorntime?

Best regards Jonas

timjrd commented 4 years ago

Hi :)

I somehow managed to update the package to v0.4.4 but it's very hacky. It runs, but I wouldn't be surprised if it breaks. You can grab the new version from the v0.4.4 branch:

nix-env -if https://github.com/timjrd/popcorntime.nix/archive/v0.4.4.tar.gz

A major drawback of this package is that it doesn't use the custom built nwjs from Popcorn Time. I didn't want to pull a pre-built binary from Popcorn Time's servers, and nwjs would take ages to build from source (it's basically Chromium).

Maybe a better approach would be to give up on trying to build Popcorn Time from source and run the official Linux binary inside a carefully restricted sandbox like Bubblewrap/Flatpak/Snap. I'm not sure we can trust Popcorn Time anyway.

That being said, I don't use this app anymore so I think I will leave it as-is for now.