2021-08-05 00:33:20 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, spotipy
|
|
|
|
, click
|
|
|
|
, pycryptodomex
|
|
|
|
, mutagen
|
|
|
|
, requests
|
|
|
|
, deezer-py
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "deemix";
|
2022-01-13 15:21:53 +01:00
|
|
|
version = "3.6.6";
|
|
|
|
format = "setuptools";
|
|
|
|
|
2021-08-05 00:33:20 +02:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 15:21:53 +01:00
|
|
|
sha256 = "sha256-xEahzA1PIrGPfnnOcuXQLVQpSVOUFk6/0v9ViLgWCwk=";
|
2021-08-05 00:33:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
spotipy
|
|
|
|
click
|
|
|
|
pycryptodomex
|
|
|
|
mutagen
|
|
|
|
requests
|
|
|
|
deezer-py
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
2022-01-13 15:21:53 +01:00
|
|
|
|
2021-08-05 00:33:20 +02:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"deezer"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Deezer downloader built from the ashes of Deezloader Remix";
|
2022-01-13 15:21:53 +01:00
|
|
|
homepage = "https://git.freezerapp.xyz/RemixDev/deemix-py";
|
2021-08-05 00:33:20 +02:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ natto1784 ];
|
|
|
|
};
|
|
|
|
}
|