2021-08-05 00:33:20 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, spotipy
|
|
|
|
, click
|
|
|
|
, pycryptodomex
|
|
|
|
, mutagen
|
|
|
|
, requests
|
|
|
|
, deezer-py
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deemix";
|
2021-10-07 20:09:11 +02:00
|
|
|
version = "3.5.5";
|
2021-08-05 00:33:20 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-07 20:09:11 +02:00
|
|
|
sha256 = "sha256-qattUKdGr9P2al5cibG0CPJNmVCJjgE+hucOtl7pAhE=";
|
2021-08-05 00:33:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|