5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
59 lines
953 B
Nix
59 lines
953 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
colorama,
|
|
fetchPypi,
|
|
flask,
|
|
poetry-core,
|
|
progress,
|
|
pythonOlder,
|
|
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
|
|
];
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|