Merge pull request #325682 from jchw-forks/fix/hplip

hplip: fix

authored by

Leona Maroni and committed by
GitHub
aab7c21b bf99590f

+4 -4
+4 -4
pkgs/misc/drivers/hplip/default.nix
··· 1 { lib, stdenv, fetchurl, substituteAll 2 , pkg-config, autoreconfHook 3 - , cups, zlib, libjpeg, libusb1, python3Packages, sane-backends 4 , dbus, file, ghostscript, usbutils 5 , net-snmp, openssl, perl, nettools, avahi 6 , bash, util-linux ··· 49 assert withPlugin -> builtins.elem hplipArch pluginArches 50 || throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}"; 51 52 - python3Packages.buildPythonApplication { 53 inherit pname version src; 54 format = "other"; 55 ··· 76 autoreconfHook 77 ] ++ lib.optional withQt5 qt5.wrapQtAppsHook; 78 79 - pythonPath = with python3Packages; [ 80 dbus 81 pillow 82 pygobject3 ··· 272 273 # There are some binaries there, which reference gcc-unwrapped otherwise. 274 stripDebugList = [ 275 - "share/hplip" "lib/cups/backend" "lib/cups/filter" python3Packages.python.sitePackages "lib/sane" 276 ]; 277 278 meta = with lib; {
··· 1 { lib, stdenv, fetchurl, substituteAll 2 , pkg-config, autoreconfHook 3 + , cups, zlib, libjpeg, libusb1, python311Packages, sane-backends 4 , dbus, file, ghostscript, usbutils 5 , net-snmp, openssl, perl, nettools, avahi 6 , bash, util-linux ··· 49 assert withPlugin -> builtins.elem hplipArch pluginArches 50 || throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}"; 51 52 + python311Packages.buildPythonApplication { 53 inherit pname version src; 54 format = "other"; 55 ··· 76 autoreconfHook 77 ] ++ lib.optional withQt5 qt5.wrapQtAppsHook; 78 79 + pythonPath = with python311Packages; [ 80 dbus 81 pillow 82 pygobject3 ··· 272 273 # There are some binaries there, which reference gcc-unwrapped otherwise. 274 stripDebugList = [ 275 + "share/hplip" "lib/cups/backend" "lib/cups/filter" python311Packages.python.sitePackages "lib/sane" 276 ]; 277 278 meta = with lib; {