about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-services
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-13 17:48:53 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-02-17 14:40:54 +0100
commit742fa0d7413793163f2c8c26bd11d1672629a2c6 (patch)
tree483f98c289cc44bfdab55edbdd0a21f4a39aedfb /pkgs/development/python-modules/pytest-services
parentec552248f999d359cb49dc69d149876918065e6f (diff)
python.pkgs.python-services: init at 1.3.1
Diffstat (limited to 'pkgs/development/python-modules/pytest-services')
-rw-r--r--pkgs/development/python-modules/pytest-services/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-services/default.nix b/pkgs/development/python-modules/pytest-services/default.nix
new file mode 100644
index 0000000000000..2a4c5591a5f59
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-services/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, isPy3k
+, requests
+, psutil
+, pytest
+, subprocess32
+}:
+
+buildPythonPackage rec {
+  pname = "pytest-services";
+  version = "1.3.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "035bc9ce8addb33f7c2ec95a9c0c88926d213a6c2e12b2c57da31a4ec0765f2c";
+  };
+
+  propagatedBuildInputs = [
+    requests
+    psutil
+    pytest
+  ] ++ lib.optional (!isPy3k) subprocess32;
+
+  # no tests in PyPI tarball
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Services plugin for pytest testing framework";
+    homepage = https://github.com/pytest-dev/pytest-services;
+    license = licenses.mit;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}