3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/xsane/default.nix

14 lines
395 B
Nix
Raw Normal View History

{stdenv, fetchurl, saneBackends, saneFrontends,
libX11, gtk, pkgconfig, libusb ? null}:
stdenv.mkDerivation {
name = "xsane-0.97";
src = fetchurl {
url = ftp://ftp.sane-project.org/pub/sane/xsane/xsane-0.97.tar.gz;
md5 = "3d1f889d88c3462594febd53be58c561";
};
buildInputs = [saneBackends saneFrontends libX11 gtk pkgconfig ] ++
(if (libusb != null) then [libusb] else []);
}