nixpkgs/pkgs/development/python-modules/pyvirtualdisplay/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
618 B
Nix

{ lib, buildPythonPackage, fetchPypi, easyprocess }:
buildPythonPackage rec {
pname = "pyvirtualdisplay";
version = "3.0";
format = "setuptools";
propagatedBuildInputs = [ easyprocess ];
src = fetchPypi {
pname = "PyVirtualDisplay";
inherit version;
hash = "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 ];
};
}