summary refs log tree commit diff
path: root/pkgs/applications/misc/gphoto2/default.nix
blob: e6dad337eb3161aed701bf7900a9befc11485809 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
args: with args;

stdenv.mkDerivation rec {
  name = "gphoto2-2.4.0";
  src = fetchurl {
    url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
    sha256 = "1rf4w5m35dsi8dkwwnh4wg70xivdi9j79f2dy3rq90p1v8sar9ca";
  };
  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";

  meta = {
    homepage = http://www.gphoto.org;
  };
}