python310Packages.pyvirtualdisplay: Normalize attribute, pname, dirname

This commit is contained in:
Martin Weinelt 2023-02-19 18:26:55 +00:00
parent 5b8f20d115
commit dd0c18a424
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
5 changed files with 10 additions and 8 deletions

View File

@ -6,7 +6,7 @@
, lib
, nlohmann_json
, pybind11
, PyVirtualDisplay
, pyvirtualdisplay
, sfml
, substituteAll
}:
@ -42,8 +42,8 @@ buildPythonPackage rec {
buildInputs = [ sfml ];
# hydra-core and PyVirtualDisplay are not declared as dependences but they are requirements
propagatedBuildInputs = [ hydra-core PyVirtualDisplay ];
# hydra-core and pyvirtualdisplay are not declared as dependences but they are requirements
propagatedBuildInputs = [ hydra-core pyvirtualdisplay ];
# Test suite requires hydra-submitit-launcher which is not packaged as of 2022-01-02
doCheck = false;

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytest
, PyVirtualDisplay
, pyvirtualdisplay
, isPy27
}:
@ -19,7 +19,7 @@ buildPythonPackage rec {
buildInputs = [ pytest ];
propagatedBuildInputs = [
PyVirtualDisplay
pyvirtualdisplay
];
meta = with lib; {

View File

@ -1,13 +1,14 @@
{ lib, buildPythonPackage, fetchPypi, EasyProcess }:
buildPythonPackage rec {
pname = "PyVirtualDisplay";
pname = "pyvirtualdisplay";
version = "3.0";
propagatedBuildInputs = [ EasyProcess ];
src = fetchPypi {
inherit pname version;
pname = "PyVirtualDisplay";
inherit version;
sha256 = "sha256-CXVbw86263JfsH7KVCX0PyNY078I4A0qm3kqGu3RYVk=";
};

View File

@ -222,6 +222,7 @@ mapAliases ({
pytorchWithCuda = torchWithCuda; # added 2022-09-30
pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30
pytwitchapi = twitchapi; # added 2022-03-07
PyVirtualDisplay = pyvirtualdisplay; # added 2023-02-19
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05

View File

@ -9646,7 +9646,7 @@ self: super: with self; {
pyvicare = callPackage ../development/python-modules/pyvicare { };
PyVirtualDisplay = callPackage ../development/python-modules/PyVirtualDisplay { };
pyvirtualdisplay = callPackage ../development/python-modules/pyvirtualdisplay { };
pyvis = callPackage ../development/python-modules/pyvis { };