nixpkgs/pkgs/development/python-modules/deemix/default.nix
2021-10-07 20:09:11 +02:00

50 lines
871 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, spotipy
, click
, pycryptodomex
, mutagen
, requests
, deezer-py
, pythonOlder
}:
buildPythonPackage rec {
pname = "deemix";
version = "3.5.5";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qattUKdGr9P2al5cibG0CPJNmVCJjgE+hucOtl7pAhE=";
};
propagatedBuildInputs = [
spotipy
click
pycryptodomex
mutagen
requests
deezer-py
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"spotipy"
"click"
"Cryptodome"
"mutagen"
"requests"
"deezer"
];
meta = with lib; {
homepage = "https://git.freezer.life/RemixDev/deemix-py";
description = "Deezer downloader built from the ashes of Deezloader Remix";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ natto1784 ];
};
}