parent
eb7235a768
commit
38ea3741bc
@ -1,23 +1,25 @@ |
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "web_cache"; |
||||
pname = "web-cache"; |
||||
version = "1.1.0"; |
||||
disabled = !isPy3k; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
inherit version; |
||||
pname = "web_cache"; |
||||
sha256 = "1d8f1s3i0s3h1jqvjq6cp639hhbbpxvyq7cf9dwzrvvvr0s0m8fm"; |
||||
}; |
||||
|
||||
disabled = !isPy3k; |
||||
|
||||
# web_cache doesn't have tests |
||||
# No tests in downloaded archive |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "web_cache" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Simple Python key-value storage backed up by sqlite3 database"; |
||||
homepage = "https://github.com/desbma/web_cache"; |
||||
license = licenses.lgpl21Only; |
||||
license = licenses.lgpl2Plus; |
||||
maintainers = with maintainers; [ fortuneteller2k ]; |
||||
}; |
||||
} |
@ -0,0 +1,39 @@ |
||||
{ lib, python3Packages, jpegoptim, optipng }: |
||||
|
||||
python3Packages.buildPythonApplication rec { |
||||
pname = "sacad"; |
||||
version = "2.3.4"; |
||||
|
||||
src = python3Packages.fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1qv2mrz6vy2sl7zhrj9vw016pjd7hmjr2ls0w8bbv1hgrddicn9r"; |
||||
}; |
||||
|
||||
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; [ fortuneteller2k ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue