gphoto2 upgraded to 2.4.0

svn path=/nixpkgs/trunk/; revision=9722
This commit is contained in:
Yury G. Kudryashov
2007-11-16 17:28:17 +00:00
parent 253f4d242a
commit 8294a83e5d
3 changed files with 23 additions and 20 deletions
+8 -6
View File
@@ -1,10 +1,12 @@
{stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt}:
args: with args;
stdenv.mkDerivation {
name = "gphoto2-2.2.0";
stdenv.mkDerivation rec {
name = "gphoto2-2.4.0";
src = fetchurl {
url = mirror://sourceforge/gphoto/gphoto2-2.2.0.tar.bz2;
md5 = "f5c1f83185db598b4ca52889964a5e84";
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
sha256 = "1rf4w5m35dsi8dkwwnh4wg70xivdi9j79f2dy3rq90p1v8sar9ca";
};
buildInputs = [pkgconfig libgphoto2 libexif popt];
buildInputs = [pkgconfig libgphoto2 libexif popt gettext];
# 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";
}