2007-11-16 17:28:17 +00:00
|
|
|
args: with args;
|
2006-01-31 14:22:08 +00:00
|
|
|
|
2007-11-16 17:28:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gphoto2-2.4.0";
|
2006-01-31 14:22:08 +00:00
|
|
|
src = fetchurl {
|
2007-11-16 17:28:17 +00:00
|
|
|
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
|
|
|
sha256 = "1rf4w5m35dsi8dkwwnh4wg70xivdi9j79f2dy3rq90p1v8sar9ca";
|
2006-01-31 14:22:08 +00:00
|
|
|
};
|
2007-11-16 17:28:17 +00:00
|
|
|
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";
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gphoto.org;
|
|
|
|
};
|
2006-01-31 14:22:08 +00:00
|
|
|
}
|