displaycal: 3.9.10 -> 3.9.11

- Additional dependencies as newly specified in `setup.cfg`
- Workaround to eoyilmaz/displaycal-py3#261 avoids:

    error: can't copy '/build/DisplayCAL-3.9.11/DisplayCAL/../dist/net.displaycal.DisplayCAL.appdata.xml': doesn't exist or not a regular file
This commit is contained in:
Andrew Kvalheim 2023-11-18 22:07:34 -08:00 committed by Jörg Thalheim
parent 14c80c276e
commit 995b801950

View File

@ -10,13 +10,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "displaycal";
version = "3.9.10";
version = "3.9.11";
format = "setuptools";
src = fetchPypi {
pname = "DisplayCAL";
inherit version;
hash = "sha256-oDHDVb0zuAC49yPfmNe7xuFKaA1BRZGr75XwsLqugHs=";
hash = "sha256-zAZW2eMjwRYevlz8KEzTxzGO8vx5AydfY3vGTapNo1c=";
};
nativeBuildInputs = [
@ -30,8 +30,11 @@ python3.pkgs.buildPythonApplication rec {
wxPython_4_2
dbus-python
distro
numpy
pillow
pychromecast
send2trash
zeroconf
];
buildInputs = [
@ -45,6 +48,9 @@ python3.pkgs.buildPythonApplication rec {
libXrandr
]);
# Workaround for eoyilmaz/displaycal-py3#261
setupPyGlobalFlags = [ "appdata" ];
doCheck = false; # Tests try to access an X11 session and dbus in weird locations.
pythonImportsCheck = [ "DisplayCAL" ];