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
47 lines
827 B
Nix
47 lines
827 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
jpegoptim,
|
|
optipng,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "sacad";
|
|
version = "2.8.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-WHxZZrKPTsTaIJGxD7ZUYQNz9ua024MXoflEVGNE9Jc=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
aiohttp
|
|
appdirs
|
|
bitarray
|
|
cssselect
|
|
fake-useragent
|
|
lxml
|
|
mutagen
|
|
pillow
|
|
tqdm
|
|
unidecode
|
|
web-cache
|
|
jpegoptim
|
|
optipng
|
|
];
|
|
|
|
# tests require internet connection
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "sacad" ];
|
|
|
|
meta = with lib; {
|
|
description = "Smart Automatic Cover Art Downloader";
|
|
homepage = "https://github.com/desbma/sacad";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ moni ];
|
|
};
|
|
}
|