nixpkgs/pkgs/applications/misc/gphoto2/default.nix
Eelco Dolstra ba6845d03e * gphoto updated to 2.4.2.
svn path=/nixpkgs/trunk/; revision=12900
2008-09-22 17:06:31 +00:00

22 lines
596 B
Nix

{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
, libjpeg, readline, libtool
}:
stdenv.mkDerivation rec {
name = "gphoto2-2.4.2";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "0wna84rli816d830hirdv3ficr3q16zs471l725rgsdvc4pqrvy9";
};
buildInputs = [pkgconfig libgphoto2 libexif popt gettext libjpeg readline libtool];
# There is a bug in 2.4.0 configure.ac (in their m4 macroses)
#patchPhase = "sed -e 's@_tmp=true@_tmp=false@' -i configure configure.ac";
meta = {
homepage = http://www.gphoto.org/;
};
}