geeqie: Don't use fetchgit

Fetchgit considered harmful.
This commit is contained in:
Eelco Dolstra 2014-11-05 14:25:34 +01:00
parent 1aafb0a700
commit 4942acc0d9
1 changed files with 6 additions and 11 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, autoconf, automake, libtool, pkgconfig, gtk, libpng, exiv2 { stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, gtk, libpng, exiv2
, lcms, intltool, gettext, libchamplain, fbida , lcms, intltool, gettext, libchamplain, fbida
}: }:
@ -6,19 +6,14 @@ stdenv.mkDerivation rec {
name = "geeqie-${version}"; name = "geeqie-${version}";
version = "1.2"; version = "1.2";
src = fetchgit { src = fetchurl {
url = "git://gitorious.org/geeqie/geeqie.git"; url = mirror://debian/pool/main/g/geeqie/geeqie_1.2.orig.tar.gz;
rev = "refs/tags/v${version}"; sha256 = "0wkcpyh3f6ig36x1q6h9iqgq225w37visip48m72j8rpghmv1rn3";
sha256 = "1h9w0jrcqcp5jjgmks5pvpppnfxhcd1s3vqlyb3qyil2wfk8n8wp";
}; };
configureFlags = [ configureFlags = [ "--enable-gps" ];
"--enable-gps"
];
configurePhase = '' preConfigure = "./autogen.sh";
./autogen.sh $configureFlags --prefix="$out"
'';
buildInputs = [ buildInputs = [
autoconf automake libtool pkgconfig gtk libpng exiv2 lcms intltool gettext autoconf automake libtool pkgconfig gtk libpng exiv2 lcms intltool gettext