2007-08-08 22:33:36 +02:00
|
|
|
{stdenv, fetchurl, saneBackends, saneFrontends,
|
|
|
|
libX11, gtk, pkgconfig, libusb ? null}:
|
|
|
|
stdenv.mkDerivation {
|
2008-01-15 01:55:21 +01:00
|
|
|
name = "xsane-0.995";
|
2007-08-08 22:33:36 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-01-15 01:55:21 +01:00
|
|
|
url = ftp://ftp.sane-project.org/pub/sane/xsane/xsane-0.995.tar.gz;
|
|
|
|
sha256 = "02rl5bkk3z3k6s04ki14l12vsl5jnx4mri66m1hl799m7hjl5836";
|
2007-08-08 22:33:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
|
|
|
|
(if (libusb != null) then [libusb] else []);
|
|
|
|
}
|