1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/misc/xsane/default.nix
Armijn Hemel 12de734949 update to 0.995
svn path=/nixpkgs/trunk/; revision=10035
2008-01-01 00:15:19 +00:00

14 lines
420 B
Nix

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