forked from mirrors/nixpkgs
31 lines
637 B
Nix
31 lines
637 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|