sane-backends: fix build on Darwin
This commit is contained in:
parent
93e835bd92
commit
f6999e0cc5
1 changed files with 6 additions and 5 deletions
|
@ -40,18 +40,19 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
avahi
|
avahi
|
||||||
libgphoto2
|
libgphoto2
|
||||||
libieee1284
|
|
||||||
libjpeg
|
libjpeg
|
||||||
libpng
|
libpng
|
||||||
libtiff
|
libtiff
|
||||||
libusb1
|
libusb1
|
||||||
libv4l
|
|
||||||
net-snmp
|
|
||||||
curl
|
curl
|
||||||
systemd
|
|
||||||
libxml2
|
libxml2
|
||||||
poppler
|
poppler
|
||||||
gawk
|
gawk
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
libieee1284
|
||||||
|
libv4l
|
||||||
|
net-snmp
|
||||||
|
systemd
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -113,6 +114,6 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
homepage = "http://www.sane-project.org/";
|
homepage = "http://www.sane-project.org/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue