depot/third_party/nixpkgs/pkgs/development/python-modules/deezer-python/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

47 lines
864 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
, tornado
, poetry-core
, pytestCheckHook
, pytest-cov
, pytest-vcr
}:
buildPythonPackage rec {
pname = "deezer-python";
version = "2.2.2";
disabled = pythonOlder "3.6";
format = "pyproject";
src = fetchFromGitHub {
owner = "browniebroke";
repo = pname;
rev = "v${version}";
sha256 = "1l8l4lxlqsj921gk1mxcilp11jx31addiyd9pk604aldgqma709y";
};
nativeBuildInputs = [
poetry-core
];
checkInputs = [
pytestCheckHook
pytest-cov
pytest-vcr
];
propagatedBuildInputs = [
requests
tornado
];
meta = with lib; {
description = "A friendly Python wrapper around the Deezer API";
homepage = "https://github.com/browniebroke/deezer-python";
license = licenses.mit;
maintainers = with maintainers; [ synthetica ];
};
}