50 lines
871 B
Nix
50 lines
871 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, spotipy
|
||
|
, click
|
||
|
, pycryptodomex
|
||
|
, mutagen
|
||
|
, requests
|
||
|
, deezer-py
|
||
|
, pythonOlder
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "deemix";
|
||
|
version = "3.4.1";
|
||
|
disabled = pythonOlder "3.7";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "sha256-FGzMFJOoKQPNq4tGI1KsMO+i9iBZhoz5Z67BFLEuv48=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|