2008-09-22 19:06:31 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
|
|
|
|
, libjpeg, readline, libtool
|
|
|
|
}:
|
2006-01-31 15:22:08 +01:00
|
|
|
|
2007-11-16 18:28:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2009-04-15 15:39:41 +02:00
|
|
|
name = "gphoto2-2.4.5";
|
2008-09-22 19:06:31 +02:00
|
|
|
|
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";
|
2009-04-15 15:39:41 +02:00
|
|
|
sha256 = "0bjbgz9n7ijf8167i1bm7q3pg366axgx5zydck13d2znhd30x069";
|
2006-01-31 15:22:08 +01:00
|
|
|
};
|
2008-09-22 19:06:31 +02:00
|
|
|
|
|
|
|
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";
|
2008-01-30 20:49:42 +01:00
|
|
|
|
|
|
|
meta = {
|
2008-09-22 19:06:31 +02:00
|
|
|
homepage = http://www.gphoto.org/;
|
2008-01-30 20:49:42 +01:00
|
|
|
};
|
2006-01-31 15:22:08 +01:00
|
|
|
}
|