nixpkgs-suyu/pkgs/development/python-modules/yark/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
969 B
Nix
Raw Normal View History

2023-01-24 05:20:00 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonRelaxDepsHook
, click
, colorama
, flask
, requests
, yt-dlp
, progress
}:
buildPythonPackage rec {
pname = "yark";
2023-02-27 02:15:00 +01:00
version = "1.2.7";
2023-01-24 05:20:00 +01:00
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-8O4EpHb1fP/O/t6hS1K1ylSXNKBuiipo7wvEnUJODSw=";
};
2023-01-24 05:20:00 +01:00
pythonRelaxDeps = [
"requests"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
2023-01-24 05:20:00 +01:00
click
colorama
flask
progress
requests
yt-dlp
];
# There aren't any unit tests. If test discovery runs, it will crash, halting the build.
# When upstream adds unit tests, please configure them here. Thanks! ~ C.
doCheck = false;
2023-01-24 05:20:00 +01:00
pythonImportsCheck = [
"yark"
];
meta = with lib; {
description = "YouTube archiving made simple";
homepage = "https://github.com/Owez/yark";
license = licenses.mit;
2023-01-24 05:20:00 +01:00
maintainers = [ ];
};
}