Merge pull request #108370 from cole-h/streamlink
streamlink: 1.5.0 -> 2.0.0, streamlink-twitch-gui-bin: 1.10.0 -> 1.11.0
This commit is contained in:
commit
192325c47f
@ -1,8 +1,29 @@
|
|||||||
{ autoPatchelfHook, fetchurl, lib, makeDesktopItem, makeWrapper, stdenv, wrapGAppsHook
|
{ autoPatchelfHook
|
||||||
, at-spi2-core, atk, alsaLib, cairo, cups, dbus, expat, gcc-unwrapped
|
, fetchurl
|
||||||
, gdk-pixbuf, glib, pango, gtk3-x11, libudev0-shim, libuuid, nss, nspr, xorg
|
, lib
|
||||||
, streamlink }:
|
, makeDesktopItem
|
||||||
|
, makeWrapper
|
||||||
|
, stdenv
|
||||||
|
, wrapGAppsHook
|
||||||
|
, at-spi2-core
|
||||||
|
, atk
|
||||||
|
, alsaLib
|
||||||
|
, cairo
|
||||||
|
, cups
|
||||||
|
, dbus
|
||||||
|
, expat
|
||||||
|
, gcc-unwrapped
|
||||||
|
, gdk-pixbuf
|
||||||
|
, glib
|
||||||
|
, pango
|
||||||
|
, gtk3-x11
|
||||||
|
, libudev0-shim
|
||||||
|
, libuuid
|
||||||
|
, nss
|
||||||
|
, nspr
|
||||||
|
, xorg
|
||||||
|
, streamlink
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
basename = "streamlink-twitch-gui";
|
basename = "streamlink-twitch-gui";
|
||||||
runtimeLibs = lib.makeLibraryPath [ libudev0-shim ];
|
runtimeLibs = lib.makeLibraryPath [ libudev0-shim ];
|
||||||
@ -16,16 +37,16 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "${basename}-bin";
|
pname = "${basename}-bin";
|
||||||
version = "1.10.0";
|
version = "1.11.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 =
|
sha256 =
|
||||||
if arch == "linux64"
|
if arch == "linux64"
|
||||||
then
|
then
|
||||||
"17s9zbzj4pgz9mxxwjbp3788afkddc9s3p7xp28y5084z9wwzph2"
|
"0y96nziavvpdvrpn58p6a175kaa8cgadp19rnbm250x9cypn1d9y"
|
||||||
else
|
else
|
||||||
"1pww05hr48m6v0g1sz48g1c7p615lig3s12l21xgyz4gkjzmjy22";
|
"0sfmhqf55w7wavqy4idsqpkf5p7l8sapjxap6xvyzpz4z5z6xr7y";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with xorg; [
|
nativeBuildInputs = with xorg; [
|
||||||
|
@ -1,21 +1,42 @@
|
|||||||
{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg_3 }:
|
{ lib
|
||||||
|
, pythonPackages
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rtmpdump
|
||||||
|
, ffmpeg_3
|
||||||
|
}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
version = "1.5.0";
|
|
||||||
pname = "streamlink";
|
pname = "streamlink";
|
||||||
|
version = "2.0.0";
|
||||||
|
disabled = pythonPackages.pythonOlder "3.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "streamlink";
|
owner = "streamlink";
|
||||||
repo = "streamlink";
|
repo = "streamlink";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "00pishpyim3mcvr9njcbfhj79j85b5xhkslk3mspc2csqknw4k61";
|
sha256 = "+W9Nu5Ze08r7IlUZOkkVOz582E1Bbj0a3qIQHwxSmj8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ];
|
checkInputs = with pythonPackages; [
|
||||||
|
pytest
|
||||||
|
mock
|
||||||
|
requests-mock
|
||||||
|
freezegun
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client isodate ]) ++ [ rtmpdump ffmpeg_3 ];
|
propagatedBuildInputs = (with pythonPackages; [
|
||||||
|
pycryptodome
|
||||||
|
requests
|
||||||
|
iso-639
|
||||||
|
iso3166
|
||||||
|
websocket_client
|
||||||
|
isodate
|
||||||
|
]) ++ [
|
||||||
|
rtmpdump
|
||||||
|
ffmpeg_3
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/streamlink/streamlink";
|
homepage = "https://github.com/streamlink/streamlink";
|
||||||
description = "CLI for extracting streams from various websites to video player of your choosing";
|
description = "CLI for extracting streams from various websites to video player of your choosing";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user