2021-05-13 08:59:01 +02:00
|
|
|
|
{ lib
|
|
|
|
|
, buildPythonPackage
|
|
|
|
|
, fetchPypi
|
|
|
|
|
, requests
|
|
|
|
|
, eventlet
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "deezer-py";
|
2021-08-21 16:54:11 +02:00
|
|
|
|
version = "1.1.3";
|
2021-05-13 08:59:01 +02:00
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
2021-08-21 16:54:11 +02:00
|
|
|
|
sha256 = "sha256-FdLSJFALeGcecLAHk9khJTKlMd3Mec/w/PGQOHqxYMQ=";
|
2021-05-13 08:59:01 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
requests
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
doCheck = false; # OSError: protocol not found
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
description = "A python wrapper for all Deezer’s APIs";
|
|
|
|
|
homepage = "https://gitlab.com/RemixDev/deezer-py";
|
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
|
maintainers = with maintainers; [ sbruder ];
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
};
|
|
|
|
|
}
|