sacad: 2.8.3 -> 3.0.1

This commit is contained in:
David Mkhitaryan
2026-07-09 16:31:25 +04:00
parent 3b315264d3
commit 5151482e19

View File

@@ -1,46 +1,30 @@
{
lib,
python3Packages,
fetchPypi,
jpegoptim,
optipng,
rustPlatform,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication (finalAttrs: {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sacad";
version = "2.8.3";
format = "setuptools";
version = "3.0.1";
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-6bKxFOP4hPbU5d1J/wro1BM/Bh9W//QzcZ4YbfaaqYY=";
src = fetchFromGitHub {
owner = "desbma";
repo = "sacad";
tag = finalAttrs.version;
hash = "sha256-dzVppb6Lg/yjLrPAwII/GMy+56jzaWn0WS7vRZOXkgU=";
};
propagatedBuildInputs = with python3Packages; [
aiohttp
appdirs
bitarray
cssselect
fake-useragent
lxml
mutagen
pillow
tqdm
unidecode
web-cache
jpegoptim
optipng
];
cargoHash = "sha256-tySgM7j26vztPOGkIq1kQeZn6YwDbk9mt3SEg94SW2o=";
# tests require internet connection
# Tests require internet connection.
doCheck = false;
pythonImportsCheck = [ "sacad" ];
meta = {
description = "Smart Automatic Cover Art Downloader";
homepage = "https://github.com/desbma/sacad";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ moni ];
mainProgram = "sacad";
};
})