depot/third_party/nixpkgs/pkgs/development/python-modules/yark/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

57 lines
969 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pythonRelaxDepsHook
, click
, colorama
, flask
, requests
, yt-dlp
, progress
}:
buildPythonPackage rec {
pname = "yark";
version = "1.2.9";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-g9JwFnB4tFuvRvQGEURbIB2gaXQgCQJkL1sNmYMFvck=";
};
pythonRelaxDeps = [
"requests"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
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;
pythonImportsCheck = [
"yark"
];
meta = with lib; {
description = "YouTube archiving made simple";
homepage = "https://github.com/Owez/yark";
license = licenses.mit;
maintainers = [ ];
};
}