My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pytest-xvfb/default.nix

31 lines
604 B

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, virtual-display
, isPy27
}:
buildPythonPackage rec {
pname = "pytest-xvfb";
version = "2.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1kyq5rg27dsnj7dc6x9y7r8vwf8rc88y2ppnnw6r96alw0nn9fn4";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [
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 ];
};
}