git.iko.soy/typeable/nixpkgs
on master help sign in
hplip: 3.20.5 -> 3.20.11
commitb6270a2d90f6b869e528f9238a4d7e49aca69ebd authorDoron Behar <doron.behar@gmail.com> dateTue 5 Jan 2021, 10:23 (6 years ago) parentf6e519f
1 file changed+9−8
pkgs/misc/drivers/hplip/default.nix+9−8
pkgs/misc/drivers/hplip/default.nix+9−8
@@ -2,7 +2,7 @@
22, pkgconfig
33, cups, zlib, libjpeg, libusb1, python3Packages, sane-backends
44, dbus, file, ghostscript, usbutils
5−, net-snmp, openssl, perl, nettools
5+, net-snmp, openssl, perl, nettools, avahi
66, bash, coreutils, util-linux
77# To remove references to gcc-unwrapped
88, removeReferencesTo, qt5
@@ -13,17 +13,17 @@
1313
1414let
1515
16− name = "hplip-${version}";
17− version = "3.20.5";
16+ pname = "hplip";
17+ version = "3.20.11";
1818
1919 src = fetchurl {
20− url = "mirror://sourceforge/hplip/${name}.tar.gz";
21− sha256 = "004bbd78487b7803cdcf2a96b00de938797227068c4de43ee7ad7d174c4e475a";
20+ url = "mirror://sourceforge/hplip/${pname}-${version}.tar.gz";
21+ sha256 = "CxZ1s9jnCaEyX+hj9arOO9NxB3mnPq6Gj3su6aVv2xE=";
2222 };
2323
2424 plugin = fetchurl {
25− url = "https://developers.hp.com/sites/default/files/${name}-plugin.run";
26− sha256 = "ff3dedda3158be64b985efbf636890ddda5b271ae1f1fbd788219e1344a9c2e7";
25+ url = "https://developers.hp.com/sites/default/files/${pname}-${version}-plugin.run";
26+ sha256 = "r8PoQQFfjdHKySPCFwtDR8Tl6v5Eag9gXpBAp6sCF9Q=";
2727 };
2828
2929 hplipState = substituteAll {
@@ -50,7 +50,7 @@ assert withPlugin -> builtins.elem hplipArch pluginArches
5050 || throw "HPLIP plugin not supported on ${stdenv.hostPlatform.system}";
5151
5252python3Packages.buildPythonApplication {
53− inherit name src;
53+ inherit pname version src;
5454 format = "other";
5555
5656 buildInputs = [
@@ -65,6 +65,7 @@ python3Packages.buildPythonApplication {
6565 openssl
6666 perl
6767 zlib
68+ avahi
6869 ];
6970
7071 nativeBuildInputs = [