mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
python3Packages.deezer-python: init at 2.2.2 (#119892)
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com> Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
6bba03c7bc
commit
179c735631
47
pkgs/development/python-modules/deezer-python/default.nix
Normal file
47
pkgs/development/python-modules/deezer-python/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -1789,6 +1789,8 @@ in {
|
||||
|
||||
deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };
|
||||
|
||||
deezer-python = callPackage ../development/python-modules/deezer-python { };
|
||||
|
||||
defcon = callPackage ../development/python-modules/defcon { };
|
||||
|
||||
deform = callPackage ../development/python-modules/deform { };
|
||||
|
Loading…
Reference in New Issue
Block a user