mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
8294a83e5d
svn path=/nixpkgs/trunk/; revision=9722
13 lines
422 B
Nix
13 lines
422 B
Nix
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";
|
|
}
|