summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorAndrew Kvalheim <andrew@kvalhe.im>2023-11-18 22:07:34 -0800
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-11-19 11:24:31 +0100
commit995b80195053953e0daac32c16342161bea887b2 (patch)
treeecd28eb26790ba017fed3d65d34407c5a54f1802 /pkgs/applications
parent14c80c276e07d9aabbf76608d600f0537bd905c7 (diff)
downloadnixpkgs-995b80195053953e0daac32c16342161bea887b2.tar
nixpkgs-995b80195053953e0daac32c16342161bea887b2.tar.gz
nixpkgs-995b80195053953e0daac32c16342161bea887b2.tar.bz2
nixpkgs-995b80195053953e0daac32c16342161bea887b2.tar.lz
nixpkgs-995b80195053953e0daac32c16342161bea887b2.tar.xz
nixpkgs-995b80195053953e0daac32c16342161bea887b2.tar.zst
nixpkgs-995b80195053953e0daac32c16342161bea887b2.zip
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
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/displaycal/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/displaycal/default.nix b/pkgs/applications/graphics/displaycal/default.nix
index b525d16b390..f54a1c10230 100644
--- a/pkgs/applications/graphics/displaycal/default.nix
+++ b/pkgs/applications/graphics/displaycal/default.nix
@@ -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" ];