From 6c7751121c4263cd7f860895dda5f7bb071a77b2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Nov 2021 15:19:17 +0100 Subject: [PATCH] python3Packages.pyephember: init at 0.3.1 --- .../python-modules/pyephember/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/pyephember/default.nix diff --git a/pkgs/development/python-modules/pyephember/default.nix b/pkgs/development/python-modules/pyephember/default.nix new file mode 100644 index 000000000000..a6f8d405f617 --- /dev/null +++ b/pkgs/development/python-modules/pyephember/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "pyephember"; + version = "0.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "3eMdkP7u3TTg1AUK4OR7AGZkD0FxUUPp/etvZ2Rw74E="; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "pyephember" + ]; + + meta = with lib; { + description = "Python client to the EPH Control Systems Ember API"; + homepage = "https://github.com/ttroy50/pyephember"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 87b06b9eb148..5229168b084c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6396,6 +6396,8 @@ in { pyenvisalink = callPackage ../development/python-modules/pyenvisalink { }; + pyephember = callPackage ../development/python-modules/pyephember { }; + pyepsg = callPackage ../development/python-modules/pyepsg { }; pyerfa = callPackage ../development/python-modules/pyerfa { };