about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jeepney
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-12-12 05:01:33 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-12-12 10:22:56 -0500
commit9f66479ffcb89861c5fffe8076920e63bb8b4da7 (patch)
tree93684dbc83dd588eb2999e885c651da8d3460191 /pkgs/development/python-modules/jeepney
parent0c4ac2fa26a136498dd7c8f2b4061e602183b04b (diff)
python3Packages.jeepney: init at 0.4
Diffstat (limited to 'pkgs/development/python-modules/jeepney')
-rw-r--r--pkgs/development/python-modules/jeepney/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jeepney/default.nix b/pkgs/development/python-modules/jeepney/default.nix
new file mode 100644
index 0000000000000..8b1100cd3f40e
--- /dev/null
+++ b/pkgs/development/python-modules/jeepney/default.nix
@@ -0,0 +1,39 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, pytest
+, testpath
+, tornado
+}:
+
+buildPythonPackage rec {
+  pname = "jeepney";
+  version = "0.4";
+
+  disabled = pythonOlder "3.5";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0w1w1rawl9k4lx91w16d19kbmf1349mhy8ph8x3w0qp1blm432b0";
+  };
+
+  propagatedBuildInputs = [
+    tornado
+  ];
+
+  checkInputs = [
+    pytest
+    testpath
+  ];
+
+  checkPhase = ''
+    pytest
+  '';
+
+  meta = with lib; {
+    homepage = https://gitlab.com/takluyver/jeepney;
+    description = "Pure Python DBus interface";
+    license = licenses.mit;
+  };
+}