nixpkgs/pkgs/development/python-modules/PyVirtualDisplay/default.nix
Samuel Ainsworth ecf05f1c15 python3Packages: virtual-display -> PyVirtualDisplay
virtual-display is a quite old package, and it's not clear why it was named "virtual-display" as the PyPI name is (and was) "PyVirtualDisplay". In any case, this commit rectifies that inconsistency.
2023-01-08 04:17:59 +00:00

24 lines
569 B
Nix

{ lib, buildPythonPackage, fetchPypi, EasyProcess }:
buildPythonPackage rec {
pname = "PyVirtualDisplay";
version = "3.0";
propagatedBuildInputs = [ EasyProcess ];
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CXVbw86263JfsH7KVCX0PyNY078I4A0qm3kqGu3RYVk=";
};
# requires X server
doCheck = false;
meta = with lib; {
description = "Python wrapper for Xvfb, Xephyr and Xvnc";
homepage = "https://github.com/ponty/pyvirtualdisplay";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ layus ];
};
}