1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "deezer-py";
10 version = "1.3.7";
11 disabled = pythonOlder "3.6";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-saMy+IeAy6H9SgS8XHnZ9klFerGyr+vQqhuCtimgbEo=";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Project has no tests
21 doCheck = false;
22 pythonImportsCheck = [ "requests" ];
23
24 meta = with lib; {
25 homepage = "https://gitlab.com/RemixDev/deezer-py";
26 description = "A wrapper for all Deezer's APIs";
27 license = licenses.gpl3Plus;
28 maintainers = with maintainers; [ natto1784 ];
29 };
30}