about summary refs log tree commit diff
path: root/pkgs/applications/graphics/geeqie
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-05 14:25:34 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-05 14:45:49 +0100
commit4942acc0d96161435b22244bee1e6217c21f6b16 (patch)
treeaf7c10f8f30b4b354db074b49272ce949dd51ff9 /pkgs/applications/graphics/geeqie
parent1aafb0a70084f93a7c3e5b359ef4cadf45088ca1 (diff)
geeqie: Don't use fetchgit
Fetchgit considered harmful.
Diffstat (limited to 'pkgs/applications/graphics/geeqie')
-rw-r--r--pkgs/applications/graphics/geeqie/default.nix17
1 files changed, 6 insertions, 11 deletions
diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix
index 0db1f211e564e..40b077ea88756 100644
--- a/pkgs/applications/graphics/geeqie/default.nix
+++ b/pkgs/applications/graphics/geeqie/default.nix
@@ -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
 }:
 
@@ -6,19 +6,14 @@ stdenv.mkDerivation rec {
   name = "geeqie-${version}";
   version = "1.2";
 
-  src = fetchgit {
-    url = "git://gitorious.org/geeqie/geeqie.git";
-    rev = "refs/tags/v${version}";
-    sha256 = "1h9w0jrcqcp5jjgmks5pvpppnfxhcd1s3vqlyb3qyil2wfk8n8wp";
+  src = fetchurl {
+    url = mirror://debian/pool/main/g/geeqie/geeqie_1.2.orig.tar.gz;
+    sha256 = "0wkcpyh3f6ig36x1q6h9iqgq225w37visip48m72j8rpghmv1rn3";
   };
 
-  configureFlags = [
-    "--enable-gps"
-  ];
+  configureFlags = [ "--enable-gps" ];
 
-  configurePhase = ''
-    ./autogen.sh $configureFlags --prefix="$out"
-  '';
+  preConfigure = "./autogen.sh";
 
   buildInputs = [
     autoconf automake libtool pkgconfig gtk libpng exiv2 lcms intltool gettext