mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
sacad: 2.8.3 -> 3.0.1
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user