Merge pull request #162250 from rileyinman/streamlink-twitch-gui

streamlink-twitch-gui-bin: 1.11.0 -> 2.0.0
This commit is contained in:
Bobby Rong 2022-03-10 13:51:30 +08:00 committed by GitHub
commit 5dd8960d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@
}:
let
basename = "streamlink-twitch-gui";
runtimeLibs = lib.makeLibraryPath [ libudev0-shim ];
runtimeLibs = lib.makeLibraryPath [ gtk3-x11 libudev0-shim ];
runtimeBins = lib.makeBinPath [ streamlink ];
arch =
if stdenv.hostPlatform.system == "x86_64-linux"
@ -39,16 +39,16 @@ let
in
stdenv.mkDerivation rec {
pname = "${basename}-bin";
version = "1.11.0";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/streamlink/${basename}/releases/download/v${version}/${basename}-v${version}-${arch}.tar.gz";
sha256 =
hash =
if arch == "linux64"
then
"0y96nziavvpdvrpn58p6a175kaa8cgadp19rnbm250x9cypn1d9y"
"sha256-5AgQ+nvv/J493Zi+F+6QRT/DGg8JyusXsP5qVuXtiG4="
else
"0sfmhqf55w7wavqy4idsqpkf5p7l8sapjxap6xvyzpz4z5z6xr7y";
"sha256-+jgTpIYb4BPM7Ixmo+YUeOX5OlQlMaRVEXf3WzS2lAI=";
};
nativeBuildInputs = with xorg; [