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.
This commit is contained in:
Samuel Ainsworth
2023-01-08 04:17:59 +00:00
parent 88ee42a4bd
commit ecf05f1c15
4 changed files with 7 additions and 4 deletions
@@ -0,0 +1,23 @@
{ 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 ];
};
}