2021-01-04 07:00:01 +01:00
|
|
|
{ lib
|
2021-09-11 06:20:00 +02:00
|
|
|
, python3Packages
|
2021-04-25 16:01:46 +02:00
|
|
|
, ffmpeg
|
2021-09-17 01:06:25 +02:00
|
|
|
, fetchpatch
|
2021-01-04 07:00:01 +01:00
|
|
|
}:
|
2016-09-21 18:25:52 +02:00
|
|
|
|
2021-09-11 06:20:00 +02:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "streamlink";
|
2022-03-05 21:36:46 +01:00
|
|
|
version = "3.2.0";
|
2016-09-21 18:25:52 +02:00
|
|
|
|
2021-09-11 06:20:00 +02:00
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-05 21:36:46 +01:00
|
|
|
sha256 = "sha256-l3DS2DhExTeKc+FBMNy3YKvIVlZsqgpB/FuXoN7V2SY=";
|
2016-09-21 18:25:52 +02:00
|
|
|
};
|
|
|
|
|
2021-09-11 06:20:00 +02:00
|
|
|
checkInputs = with python3Packages; [
|
2021-04-25 16:01:46 +02:00
|
|
|
pytestCheckHook
|
2021-01-04 07:00:01 +01:00
|
|
|
mock
|
|
|
|
requests-mock
|
|
|
|
freezegun
|
|
|
|
];
|
2018-06-25 00:19:01 +02:00
|
|
|
|
2021-09-11 06:20:00 +02:00
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
2021-11-18 04:51:16 +01:00
|
|
|
isodate
|
|
|
|
lxml
|
|
|
|
pycountry
|
2021-01-04 07:00:01 +01:00
|
|
|
pycryptodome
|
2021-11-18 04:51:16 +01:00
|
|
|
pysocks
|
2021-01-04 07:00:01 +01:00
|
|
|
requests
|
2021-06-15 13:12:45 +02:00
|
|
|
websocket-client
|
2021-01-04 07:00:01 +01:00
|
|
|
]) ++ [
|
2021-04-25 16:01:46 +02:00
|
|
|
ffmpeg
|
|
|
|
];
|
|
|
|
|
2021-01-04 07:00:01 +01:00
|
|
|
meta = with lib; {
|
2021-09-11 06:20:00 +02:00
|
|
|
homepage = "https://streamlink.github.io/";
|
2016-09-21 18:34:01 +02:00
|
|
|
description = "CLI for extracting streams from various websites to video player of your choosing";
|
|
|
|
longDescription = ''
|
2021-07-20 16:20:49 +02:00
|
|
|
Streamlink is a CLI utility that pipes videos from online
|
2016-09-21 18:25:52 +02:00
|
|
|
streaming services to a variety of video players such as VLC, or
|
|
|
|
alternatively, a browser.
|
|
|
|
|
|
|
|
Streamlink is a fork of the livestreamer project.
|
|
|
|
'';
|
2021-09-11 06:20:00 +02:00
|
|
|
changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
|
2016-09-21 18:25:52 +02:00
|
|
|
license = licenses.bsd2;
|
2021-07-20 16:20:49 +02:00
|
|
|
maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
|
2016-09-21 18:25:52 +02:00
|
|
|
};
|
|
|
|
}
|