hplip: use python2Packages

While Python 3 is (partially) supported, it requires more effort to fix
it.
This commit is contained in:
Frederik Rietdijk 2019-11-13 15:35:36 +01:00
parent 5004cc90f6
commit 8ea50952b2
3 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, substituteAll
, pkgconfig
, cups, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
, cups, libjpeg, libusb1, python2Packages, sane-backends, dbus, usbutils
, net_snmp, openssl, nettools
, bash, coreutils, utillinux
, qtSupport ? true
@ -45,7 +45,7 @@ in
assert withPlugin -> builtins.elem hplipArch pluginArches
|| throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
pythonPackages.buildPythonApplication {
python2Packages.buildPythonApplication {
inherit name src;
format = "other";
@ -63,7 +63,7 @@ pythonPackages.buildPythonApplication {
pkgconfig
];
pythonPath = with pythonPackages; [
pythonPath = with python2Packages; [
dbus
pillow
pygobject2

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, substituteAll
, pkgconfig
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends
, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
, dbus, file, ghostscript, usbutils
, net_snmp, openssl, perl, nettools
, bash, coreutils, utillinux
@ -47,7 +47,7 @@ in
assert withPlugin -> builtins.elem hplipArch pluginArches
|| throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
pythonPackages.buildPythonApplication {
python2Packages.buildPythonApplication {
inherit name src;
format = "other";
@ -69,7 +69,7 @@ pythonPackages.buildPythonApplication {
pkgconfig
];
pythonPath = with pythonPackages; [
pythonPath = with python2Packages; [
dbus
pillow
pygobject2

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, substituteAll
, pkgconfig
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends
, cups, zlib, libjpeg, libusb1, python2Packages, 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}";
pythonPackages.buildPythonApplication {
python2Packages.buildPythonApplication {
inherit name src;
format = "other";
@ -68,7 +68,7 @@ pythonPackages.buildPythonApplication {
pkgconfig
];
pythonPath = with pythonPackages; [
pythonPath = with python2Packages; [
dbus
pillow
pygobject2