Updating meld (patch by Carles Pagès)
svn path=/nixpkgs/trunk/; revision=25647
This commit is contained in:
parent
72a6bbc02c
commit
594c0a8ff9
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user