mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
2034a3da5a
Changelogs: - https://github.com/streamlink/streamlink/releases/tag/4.0.0 - https://github.com/streamlink/streamlink/releases/tag/4.0.1 - https://github.com/streamlink/streamlink/releases/tag/4.1.0 - https://github.com/streamlink/streamlink/releases/tag/4.2.0 - https://github.com/streamlink/streamlink/releases/tag/4.3.0 - https://github.com/streamlink/streamlink/releases/tag/5.0.0 - https://github.com/streamlink/streamlink/releases/tag/5.0.1 Streamlink switched to the pyproject format in 4.0.0
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ lib
|
|
, python3Packages
|
|
, ffmpeg
|
|
, fetchpatch
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "streamlink";
|
|
version = "5.0.1";
|
|
format = "pyproject";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-PKRioPBhTV6i3ckQgcKuhQFmpBvUQE4o3FLej8qx4mM=";
|
|
};
|
|
|
|
checkInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
mock
|
|
requests-mock
|
|
freezegun
|
|
];
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
versioningit
|
|
];
|
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
|
isodate
|
|
lxml
|
|
pycountry
|
|
pycryptodome
|
|
pysocks
|
|
requests
|
|
websocket-client
|
|
]) ++ [
|
|
ffmpeg
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://streamlink.github.io/";
|
|
description = "CLI for extracting streams from various websites to video player of your choosing";
|
|
longDescription = ''
|
|
Streamlink is a CLI utility that pipes videos from online
|
|
streaming services to a variety of video players such as VLC, or
|
|
alternatively, a browser.
|
|
|
|
Streamlink is a fork of the livestreamer project.
|
|
'';
|
|
changelog = "https://github.com/streamlink/streamlink/raw/${version}/CHANGELOG.md";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ dezgeg zraexy DeeUnderscore ];
|
|
};
|
|
}
|