mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:37:53 +00:00
Forgotten part of xsane: Use libpng specified, not the one propagated
svn path=/nixpkgs/trunk/; revision=32822
This commit is contained in:
parent
2989ce0cac
commit
ef3a71007a
@ -1,5 +1,5 @@
|
||||
{stdenv, fetchurl, saneBackends, saneFrontends,
|
||||
libX11, gtk, pkgconfig, libusb ? null}:
|
||||
libX11, gtk, pkgconfig, libpng, libusb ? null}:
|
||||
stdenv.mkDerivation {
|
||||
name = "xsane-0.996";
|
||||
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/xsane-back-gtk.c
|
||||
'';
|
||||
|
||||
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
||||
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
||||
(if (libusb != null) then [libusb] else []);
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user