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