1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/misc/sane-front/default.nix
2007-08-08 20:33:36 +00:00

14 lines
396 B
Nix

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