summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-server-fixtures
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2018-04-03 12:39:57 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-04 19:46:00 +0200
commit1a5ad29c48223cb9796f72b16440bcc08f0d101c (patch)
treeba5c889fe363e03691185945bb2588056c660185 /pkgs/development/python-modules/pytest-server-fixtures
parent9fc3f7f12dfd0885129b898038338804e8d29732 (diff)
downloadnixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar.gz
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar.bz2
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar.lz
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar.xz
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.tar.zst
nixlib-1a5ad29c48223cb9796f72b16440bcc08f0d101c.zip
pythonPackages.pytest-server-fixtures: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/pytest-server-fixtures')
-rw-r--r--pkgs/development/python-modules/pytest-server-fixtures/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-server-fixtures/default.nix b/pkgs/development/python-modules/pytest-server-fixtures/default.nix
new file mode 100644
index 000000000000..a6e5f45c5d99
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-server-fixtures/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, pytest, setuptools-git, pytest-shutil, pytest-fixture-config, psutil
+, requests}:
+
+buildPythonPackage rec {
+  pname = "pytest-server-fixtures";
+  version = "1.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1gs9qimcn8q6xi9d6i5624l0dziwvn6nj2rda07fg15g1cq66s8l";
+  };
+
+  buildInputs = [ pytest ];
+  propagatedBuildInputs = [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ];
+
+  # RuntimeError: Unable to find a free server number to start Xvfb
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Extensible server fixures for py.test";
+    homepage  = "https://github.com/manahl/pytest-plugins";
+    license = licenses.mit;
+    maintainers = with maintainers; [ nand0p ];
+  };
+}