Skip to content

Commit

Permalink
Merge pull request #75910 from grahamc/python3/hplip
Browse files Browse the repository at this point in the history
hplip: python2 -> python3
  • Loading branch information
grahamc committed Dec 19, 2019
2 parents 096c2b4 + 821d50e commit 35b5655
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/misc/drivers/hplip/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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";

Expand All @@ -68,13 +68,14 @@ python2Packages.buildPythonApplication {
pkgconfig
];

pythonPath = with python2Packages; [
pythonPath = with python3Packages; [
dbus
pillow
pygobject2
reportlab
usbutils
sip
dbus-python
] ++ stdenv.lib.optionals withQt5 [
pyqt5
enum-compat
Expand Down

0 comments on commit 35b5655

Please sign in to comment.