mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
sane-backends: enable support for PNG
This commit is contained in:
parent
b693f989f6
commit
c9bed891f6
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue