aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-xvfb
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-07-25 11:05:02 -0400
committerMarcus Boyd <mwb@geosol.com.au>2019-11-28 16:36:20 +1030
commit7fcc79d4b7f8bf7ae7fab13b04010b30243ad736 (patch)
tree26e9ecb934eadbb93d0b60a19a7f44caeeae53e6 /pkgs/development/python-modules/pytest-xvfb
parent248fe74a8ad81de83a4f002d8394bafcb67f0644 (diff)
pythonPackages.pytest-xvfb: init at 1.2.0
Diffstat (limited to 'pkgs/development/python-modules/pytest-xvfb')
-rw-r--r--pkgs/development/python-modules/pytest-xvfb/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-xvfb/default.nix b/pkgs/development/python-modules/pytest-xvfb/default.nix
new file mode 100644
index 000000000000..b9ae9be428d3
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-xvfb/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, virtual-display
+}:
+
+buildPythonPackage rec {
+ pname = "pytest-xvfb";
+ version = "1.2.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979";
+ };
+
+ propagatedBuildInputs = [
+ pytest
+ virtual-display
+ ];
+
+ meta = with lib; {
+ description = "A pytest plugin to run Xvfb for tests";
+ homepage = "https://github.com/The-Compiler/pytest-xvfb";
+ license = licenses.mit;
+ maintainers = with maintainers; [ costrouc ];
+ };
+}