2007-11-16 18:28:17 +01:00
|
|
|
args: with args;
|
2006-01-31 15:22:08 +01:00
|
|
|
|
2007-11-16 18:28:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gphoto2-2.4.0";
|
2006-01-31 15:22:08 +01:00
|
|
|
src = fetchurl {
|
2007-11-16 18:28:17 +01:00
|
|
|
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
|
|
|
|
sha256 = "1rf4w5m35dsi8dkwwnh4wg70xivdi9j79f2dy3rq90p1v8sar9ca";
|
2006-01-31 15:22:08 +01:00
|
|
|
};
|
2007-11-16 18:28:17 +01: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";
|
2006-01-31 15:22:08 +01:00
|
|
|
}
|