mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
hplip: python2 -> python3
Tested with a local HP printer
This commit is contained in:
parent
f2b55f2827
commit
34e63b4615
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, substituteAll
|
{ stdenv, fetchurl, substituteAll
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, cups, zlib, libjpeg, libusb1, python2Packages, sane-backends
|
, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
|
||||||
, dbus, file, ghostscript, usbutils
|
, dbus, file, ghostscript, usbutils
|
||||||
, net_snmp, openssl, perl, nettools
|
, net_snmp, openssl, perl, nettools
|
||||||
, bash, coreutils, utillinux
|
, bash, coreutils, utillinux
|
||||||
@ -46,7 +46,7 @@ in
|
|||||||
assert withPlugin -> builtins.elem hplipArch pluginArches
|
assert withPlugin -> builtins.elem hplipArch pluginArches
|
||||||
|| throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
|
|| throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
|
||||||
|
|
||||||
python2Packages.buildPythonApplication {
|
python3Packages.buildPythonApplication {
|
||||||
inherit name src;
|
inherit name src;
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ python2Packages.buildPythonApplication {
|
|||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = with python2Packages; [
|
pythonPath = with python3Packages; [
|
||||||
dbus
|
dbus
|
||||||
pillow
|
pillow
|
||||||
pygobject2
|
pygobject2
|
||||||
|
Loading…
Reference in New Issue
Block a user