From 594c0a8ff9f9689360fbb4719e503cf5ea316ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 20 Jan 2011 22:07:49 +0000 Subject: [PATCH] =?UTF-8?q?Updating=20meld=20(patch=20by=20Carles=20Pag?= =?UTF-8?q?=C3=A8s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/nixpkgs/trunk/; revision=25647 --- .../version-management/meld/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/meld/default.nix b/pkgs/applications/version-management/meld/default.nix index 9a4c58d11c48..e39a1b6f22ad 100644 --- a/pkgs/applications/version-management/meld/default.nix +++ b/pkgs/applications/version-management/meld/default.nix @@ -1,18 +1,23 @@ {stdenv, fetchurl, pygtk, python, intltool, scrollkeeper, makeWrapper }: +let + minor = "1.5"; + version = "${minor}.0"; +in + stdenv.mkDerivation { - name = "meld-1.3.1"; + name = "meld-${version}"; src = fetchurl { - url = http://ftp.gnome.org/pub/gnome/sources/meld/1.3/meld-1.3.1.tar.bz2; - sha256 = "0iqnj3qb9l7z12akgmf64fr2xqirsqxflvj60xqcqr5vd5c763nn"; + url = "http://ftp.gnome.org/pub/gnome/sources/meld/${minor}/meld-${version}.tar.bz2"; + sha256 = "1kf0k3813nfmahn2l2lbs6n9zg2902gixypsf656m6mqyyrmxrrm"; }; buildInputs = [ pygtk python intltool scrollkeeper makeWrapper ]; patchPhase = '' sed -e s,/usr/local,$out, -i INSTALL - sed -e 's,#!.*,#!${python}/bin/python,' -i meld + sed -e 's,#!.*,#!${python}/bin/python,' -i bin/meld ''; postInstall = ''