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