2021-01-09 10:05:03 +00:00
|
|
|
{ lib
|
2021-09-18 10:52:07 +00:00
|
|
|
, python3Packages
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2021-04-26 19:14:03 +00:00
|
|
|
, ffmpeg
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "streamlink";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "5.5.1";
|
2022-10-06 18:32:54 +00:00
|
|
|
format = "pyproject";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-09-18 10:52:07 +00:00
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-srT+jWQ22+e87HjeLUu3gBVjiFYUNbYaGWMVbp/F+9A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2021-04-26 19:14:03 +00:00
|
|
|
pytestCheckHook
|
2021-01-09 10:05:03 +00:00
|
|
|
mock
|
|
|
|
requests-mock
|
|
|
|
freezegun
|
2022-12-17 10:02:37 +00:00
|
|
|
pytest-asyncio
|
2021-01-09 10:05:03 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
versioningit
|
|
|
|
];
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
2021-12-06 16:07:01 +00:00
|
|
|
isodate
|
|
|
|
lxml
|
|
|
|
pycountry
|
2021-01-09 10:05:03 +00:00
|
|
|
pycryptodome
|
2021-12-06 16:07:01 +00:00
|
|
|
pysocks
|
2021-01-09 10:05:03 +00:00
|
|
|
requests
|
2021-06-28 23:13:55 +00:00
|
|
|
websocket-client
|
2022-12-17 10:02:37 +00:00
|
|
|
urllib3
|
2023-02-02 18:25:31 +00:00
|
|
|
certifi
|
2021-01-09 10:05:03 +00:00
|
|
|
]) ++ [
|
2021-04-26 19:14:03 +00:00
|
|
|
ffmpeg
|
|
|
|
];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
meta = with lib; {
|
2021-09-18 10:52:07 +00:00
|
|
|
homepage = "https://streamlink.github.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "CLI for extracting streams from various websites to video player of your choosing";
|
|
|
|
longDescription = ''
|
2021-07-21 07:28:18 +00:00
|
|
|
Streamlink is a CLI utility that pipes videos from online
|
2020-04-24 23:36:52 +00: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-18 10:52:07 +00:00
|
|
|
changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd2;
|
2021-07-21 07:28:18 +00:00
|
|
|
maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|