forked from mirrors/nixpkgs
4d54140043
svn path=/nixpkgs/trunk/; revision=9070
14 lines
395 B
Nix
14 lines
395 B
Nix
{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 []);
|
|
}
|