mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ lib
|
|
, python3Packages
|
|
, ffmpeg
|
|
, fetchpatch
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "streamlink";
|
|
version = "5.1.2";
|
|
format = "pyproject";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-UB9gTT2/rQXV1Q7UQywEHlGBCJDMDmXupD8nYII4dno=";
|
|
};
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
mock
|
|
requests-mock
|
|
freezegun
|
|
pytest-asyncio
|
|
];
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
versioningit
|
|
];
|
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
|
isodate
|
|
lxml
|
|
pycountry
|
|
pycryptodome
|
|
pysocks
|
|
requests
|
|
websocket-client
|
|
urllib3
|
|
]) ++ [
|
|
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 ];
|
|
};
|
|
}
|