From b86b382b5086ca09a929226e7ae3243e3b8070d5 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 20 Oct 2010 11:59:06 +0000 Subject: [PATCH] kdiff3 cleanup svn path=/nixpkgs/trunk/; revision=24381 --- pkgs/tools/text/kdiff3/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/kdiff3/default.nix b/pkgs/tools/text/kdiff3/default.nix index 1a313ca215be..05cd13c413b8 100644 --- a/pkgs/tools/text/kdiff3/default.nix +++ b/pkgs/tools/text/kdiff3/default.nix @@ -1,14 +1,12 @@ { stdenv, fetchurl, cmake, qt4, perl, kdelibs, kdebase, automoc4, phonon, gettext}: -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "kdiff3-0.9.95"; src = fetchurl { - url = http://downloads.sourceforge.net/project/kdiff3/kdiff3/0.9.95/kdiff3-0.9.95.tar.gz; - sha256 = "0372cebc8957f256a98501a4ac3c3634c7ecffb486ece7e7819c90d876202f0f"; + url = "mirror://sourceforge/kdiff3/${name}.tar.gz"; + sha256 = "03rg41vdi44wh7kygv46nkzyrirl6qyar901hnlmdwjpi6ycwwh3"; }; - cmakeFlags = [ "-DGETTEXT_INCLUDE_DIR=${gettext}/include" ]; - # kdebase allows having a konqueror plugin built buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon gettext kdebase ];