depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-xvfb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
568 B
Nix

{ 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 ];
};
}