diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest-xvfb/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest-xvfb/default.nix | 28 |
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 00000000000..b9ae9be428d --- /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 ]; + }; +} |