about summary refs log tree commit diff
path: root/pkgs/development/python-modules/justnimbus
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-08-11 20:34:50 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-08-11 20:34:50 +0200
commitf8d207135a6a1a954f277caf5bbbf4366fe64029 (patch)
tree8def260de14957431c78db9da980b1f6d5f2b064 /pkgs/development/python-modules/justnimbus
parentd6417bd3069397ee3a7bf20a7704c0d7325b39f7 (diff)
python310Packages.justnimbus: init at 0.6.0
Diffstat (limited to 'pkgs/development/python-modules/justnimbus')
-rw-r--r--pkgs/development/python-modules/justnimbus/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/justnimbus/default.nix b/pkgs/development/python-modules/justnimbus/default.nix
new file mode 100644
index 0000000000000..cc302cc5865be
--- /dev/null
+++ b/pkgs/development/python-modules/justnimbus/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, poetry-core
+, pythonOlder
+, requests
+}:
+
+buildPythonPackage rec {
+  pname = "justnimbus";
+  version = "0.6.0";
+  format = "pyproject";
+
+  disabled = pythonOlder "3.7";
+
+  src = fetchFromGitHub {
+    owner = "kvanzuijlen";
+    repo = pname;
+    rev = version;
+    hash = "sha256-uQ5Nc5sxqHeAuavyfX4Q6Umsd54aileJjFwOOU6X7Yg=";
+  };
+
+  nativeBuildInputs = [
+    poetry-core
+  ];
+
+  propagatedBuildInputs = [
+    requests
+  ];
+
+  # Module has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "justnimbus"
+  ];
+
+  meta = with lib; {
+    description = "Library for the JustNimbus API";
+    homepage = "https://github.com/kvanzuijlen/justnimbus";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ fab ];
+  };
+}
+