Files
nixpkgs/pkgs/by-name/an/animdl/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.3 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication {
pname = "animdl";
version = "1.7.27";
pyproject = true;
src = fetchFromGitHub {
owner = "justfoolingaround";
repo = "animdl";
# Using the commit hash because upstream does not have releases. https://github.com/justfoolingaround/animdl/issues/277
rev = "c7c3b79198e66695e0bbbc576f9d9b788616957f";
hash = "sha256-kn6vCCFhJNlruxoO+PTHVIwTf1E5j1aSdBhrFuGzUq4=";
};
pythonRemoveDeps = [
"comtypes" # windows only
];
pythonRelaxDeps = [
"cssselect"
"httpx"
"lxml"
"packaging"
"pycryptodomex"
"regex"
"rich"
"tqdm"
"yarl"
];
build-system = with python3Packages; [
poetry-core
];
dependencies = with python3Packages; [
anchor-kr
anitopy
click
cssselect
httpx
lxml
packaging
pkginfo
pycryptodomex
pyyaml
regex
rich
tqdm
yarl
];
doCheck = true;
meta = with lib; {
description = "Highly efficient, powerful and fast anime scraper";
homepage = "https://github.com/justfoolingaround/animdl";
license = licenses.gpl3Only;
mainProgram = "animdl";
maintainers = with maintainers; [ passivelemon ];
platforms = [ "x86_64-linux" ];
};
}