mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
31 lines
650 B
Nix
31 lines
650 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deezer-py";
|
|
version = "1.2.3";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f4dd648e5bf251cb13316145e243d3a08d870840e0ac1525309926e640c91ea9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|