3
0
Fork 0
forked from mirrors/nixpkgs

sane-backends: enable support for PNG

This commit is contained in:
Peter Simons 2017-12-20 09:11:32 +01:00
parent b693f989f6
commit c9bed891f6
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl
, avahi, libjpeg, libusb1, libv4l, net_snmp
, avahi, libjpeg, libusb1, libv4l, net_snmp, libpng
, gettext, pkgconfig
# List of { src name backend } attibute sets - see installFirmware below:
@ -24,7 +24,7 @@ stdenv.mkDerivation {
++ stdenv.lib.optional (libusb1 != null) "--enable-libusb_1_0"
;
buildInputs = [ avahi libusb1 libv4l net_snmp ];
buildInputs = [ avahi libusb1 libv4l net_snmp libpng ];
nativeBuildInputs = [ gettext pkgconfig ];
enableParallelBuilding = true;

View file

@ -19939,6 +19939,7 @@ with pkgs;
xsane = callPackage ../applications/graphics/sane/xsane.nix {
libpng = libpng12;
sane-backends = sane-backends.override { libpng = libpng12; };
};
xsw = callPackage ../applications/misc/xsw {