From fbf4abe8b9c5c8b66143f7a8e7b4591bd5136396 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Sep 2021 13:52:43 +0200 Subject: [PATCH] python3Packages.pynello: init at 2.0.3 --- .../python-modules/pynello/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/pynello/default.nix diff --git a/pkgs/development/python-modules/pynello/default.nix b/pkgs/development/python-modules/pynello/default.nix new file mode 100644 index 000000000000..43852cbcd4c2 --- /dev/null +++ b/pkgs/development/python-modules/pynello/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, python-dateutil +, pythonOlder +, requests +, requests_oauthlib +}: + +buildPythonPackage rec { + pname = "pynello"; + version = "2.0.3"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "pschmitt"; + repo = pname; + rev = version; + sha256 = "015rlccsn2vff9if82rjj2fza3bjbmawqhamc22wq40gq7pbfk5i"; + }; + + propagatedBuildInputs = [ + python-dateutil + requests + requests_oauthlib + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ "pynello" ]; + + meta = with lib; { + description = "Python library for nello.io intercoms"; + homepage = "https://github.com/pschmitt/pynello"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 50803af17df7..15d3787fef3c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6528,6 +6528,8 @@ in { inherit (pkgs) coreutils which; }; + pynello = callPackage ../development/python-modules/pynello { }; + pynest2d = callPackage ../development/python-modules/pynest2d { }; pynetbox = callPackage ../development/python-modules/pynetbox { };