summary refs log tree commit diff
path: root/pkgs/misc/drivers
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-12-18 19:45:32 -0500
committerGraham Christensen <graham@grahamc.com>2019-12-18 23:12:19 -0500
commit34e63b461564ba89c5a24fdeab08b523220de1ee (patch)
tree7ab5da088ce12f5f7d61e758026c3243f4fb344d /pkgs/misc/drivers
parentf2b55f28271c6c93e54d0025b9291ac37f2e7e2e (diff)
downloadnixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar.gz
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar.bz2
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar.lz
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar.xz
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.tar.zst
nixpkgs-34e63b461564ba89c5a24fdeab08b523220de1ee.zip
hplip: python2 -> python3
Tested with a local HP printer
Diffstat (limited to 'pkgs/misc/drivers')
-rw-r--r--pkgs/misc/drivers/hplip/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix
index fe890f3dce2..39efd0998dc 100644
--- a/pkgs/misc/drivers/hplip/default.nix
+++ b/pkgs/misc/drivers/hplip/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, substituteAll
 , pkgconfig
-, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
+, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
 , dbus, file, ghostscript, usbutils
 , net_snmp, openssl, perl, nettools
 , bash, coreutils, utillinux
@@ -46,7 +46,7 @@ in
 assert withPlugin -> builtins.elem hplipArch pluginArches
   || throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
 
-python2Packages.buildPythonApplication {
+python3Packages.buildPythonApplication {
   inherit name src;
   format = "other";
 
@@ -68,7 +68,7 @@ python2Packages.buildPythonApplication {
     pkgconfig
   ];
 
-  pythonPath = with python2Packages; [
+  pythonPath = with python3Packages; [
     dbus
     pillow
     pygobject2