Merge pull request #132580 from natto1784/deemix
This commit is contained in:
commit
000df55068
49
pkgs/development/python-modules/deemix/default.nix
Normal file
49
pkgs/development/python-modules/deemix/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
30
pkgs/development/python-modules/deezer-py/default.nix
Normal file
30
pkgs/development/python-modules/deezer-py/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deezer-py";
|
||||
version = "1.1.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-EAiGMSLrRsF03FMLkizy3Fm+nAldSTxe9KdXFFep0iQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "requests" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/RemixDev/deezer-py";
|
||||
description = "A wrapper for all Deezer's APIs";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ natto1784 ];
|
||||
};
|
||||
}
|
@ -1874,6 +1874,8 @@ in {
|
||||
|
||||
decopatch = callPackage ../development/python-modules/decopatch { };
|
||||
|
||||
deemix = callPackage ../development/python-modules/deemix { };
|
||||
|
||||
deep_merge = callPackage ../development/python-modules/deep_merge { };
|
||||
|
||||
deepdiff = callPackage ../development/python-modules/deepdiff { };
|
||||
@ -1882,6 +1884,8 @@ in {
|
||||
|
||||
deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };
|
||||
|
||||
deezer-py = callPackage ../development/python-modules/deezer-py { };
|
||||
|
||||
deezer-python = callPackage ../development/python-modules/deezer-python { };
|
||||
|
||||
defcon = callPackage ../development/python-modules/defcon { };
|
||||
|
Loading…
Reference in New Issue
Block a user