deemix: init at 2.0.16
deezer-py: init at 0.0.15
This commit is contained in:
parent
483e5d94e4
commit
9356154fb1
41
deemix/default.nix
Normal file
41
deemix/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, click
|
||||
, deezer-py
|
||||
, eventlet
|
||||
, mutagen
|
||||
, pycryptodomex
|
||||
, requests
|
||||
, spotipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deemix";
|
||||
version = "2.0.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q5nzx540a2xk2gw225yjrjn2py4b7naim6kk7li97gwarp9r0h9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
deezer-py
|
||||
eventlet
|
||||
mutagen
|
||||
pycryptodomex
|
||||
requests
|
||||
spotipy
|
||||
];
|
||||
|
||||
doCheck = false; # error: protocol not found
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python library that lets you download millions of songs, soundtracks, albums in high-quality mp3 and FLAC";
|
||||
homepage = "https://download.deemix.app/";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
11
flake.nix
11
flake.nix
|
@ -16,6 +16,16 @@
|
|||
callPythonPackage = prev.python3Packages.callPackage;
|
||||
in
|
||||
{
|
||||
python3 = prev.python3.override {
|
||||
packageOverrides = final: prev:
|
||||
{
|
||||
deezer-py = callPythonPackage ./python-modules/deezer-py { };
|
||||
};
|
||||
};
|
||||
python3Packages = prev.recurseIntoAttrs final.python3.pkgs;
|
||||
|
||||
deemix = callPythonPackage ./deemix { };
|
||||
|
||||
VisiCut = callPackage ./VisiCut { };
|
||||
};
|
||||
} // flake-utils.lib.eachDefaultSystem (system:
|
||||
|
@ -41,6 +51,7 @@
|
|||
(n: v: lib.elem system v.meta.platforms)
|
||||
{
|
||||
inherit (pkgs)
|
||||
deemix
|
||||
VisiCut;
|
||||
};
|
||||
|
||||
|
|
31
python-modules/deezer-py/default.nix
Normal file
31
python-modules/deezer-py/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, eventlet
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deezer-py";
|
||||
version = "0.0.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0sg4r8f11b11ygb5ra7gwsnxjhkzwhaniii0v69kqcypkxncc3ys";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
eventlet
|
||||
];
|
||||
|
||||
doCheck = false; # OSError: protocol not found
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python wrapper for all Deezer’s APIs";
|
||||
homepage = "https://gitlab.com/RemixDev/deezer-py";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue