1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #309051 from qubitnano/pr/popcorntime

popcorntime: 0.5.0 -> 0.5.1, add libGL
This commit is contained in:
Weijia Wang 2024-05-04 18:50:55 +02:00 committed by GitHub
commit fd97212d62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,7 @@
, gsettings-desktop-schemas
, gtk3
, lib
, libGL
, makeDesktopItem
, makeWrapper
, nwjs
@ -16,11 +17,11 @@
stdenv.mkDerivation rec {
pname = "popcorntime";
version = "0.5.0";
version = "0.5.1";
src = fetchurl {
url = "https://github.com/popcorn-official/popcorn-desktop/releases/download/v${version}/Popcorn-Time-${version}-linux64.zip";
hash = "sha256-A5G66KkCQ1AiOOO02dZFAVz6dqvComrd5lXQ4Wc1S0s=";
hash = "sha256-lCsIioR252GWP/+wNwkTw5PLSal/M9x6mlR/EKOd/hs=";
};
nativeBuildInputs = [
@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
dontUnpack = true;
makeWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gcc-unwrapped.lib gtk3 udev ]}"
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gcc-unwrapped.lib gtk3 udev libGL ]}"
"--prefix PATH : ${lib.makeBinPath [ stdenv.cc ]}"
];