nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 46 lines 827 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5 jpegoptim, 6 optipng, 7}: 8 9python3Packages.buildPythonApplication rec { 10 pname = "sacad"; 11 version = "2.8.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-/NyRnQSqDZv+LJ1bPO35T9icQ2PN9Oa+nSmrLkQimnQ="; 17 }; 18 19 propagatedBuildInputs = with python3Packages; [ 20 aiohttp 21 appdirs 22 bitarray 23 cssselect 24 fake-useragent 25 lxml 26 mutagen 27 pillow 28 tqdm 29 unidecode 30 web-cache 31 jpegoptim 32 optipng 33 ]; 34 35 # tests require internet connection 36 doCheck = false; 37 38 pythonImportsCheck = [ "sacad" ]; 39 40 meta = with lib; { 41 description = "Smart Automatic Cover Art Downloader"; 42 homepage = "https://github.com/desbma/sacad"; 43 license = licenses.mpl20; 44 maintainers = with maintainers; [ moni ]; 45 }; 46}