mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
31 lines
637 B
Nix
31 lines
637 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deezer-py";
|
|
version = "1.3.7";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-saMy+IeAy6H9SgS8XHnZ9klFerGyr+vQqhuCtimgbEo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|