31 lines
650 B
Nix
31 lines
650 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deezer-py";
|
|
version = "1.3.6";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a3ef151f7971d69769e7393f71373eaf896bccd22167213872ae46e04e14a2d7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|