depot/third_party/nixpkgs/pkgs/development/python-modules/yark/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

62 lines
1,010 B
Nix

{ lib
, buildPythonPackage
, click
, colorama
, fetchPypi
, flask
, poetry-core
, progress
, pythonOlder
, pythonRelaxDepsHook
, requests
, yt-dlp
}:
buildPythonPackage rec {
pname = "yark";
version = "1.2.10";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-Y1fWHpvrqGuBPyJ2dO2y0W2zhEgcTJABtkOAoZ7uyZU=";
};
pythonRelaxDeps = [
"flask"
"requests"
"yt-dlp"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
click
colorama
flask
progress
requests
yt-dlp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"yark"
];
meta = with lib; {
description = "Module for YouTube archiving";
mainProgram = "yark";
homepage = "https://github.com/Owez/yark";
changelog = "https://github.com/Owez/yark/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}