Adding 'meld'
svn path=/nixpkgs/trunk/; revision=20963
This commit is contained in:
parent
788e40bd5a
commit
3c2c4ac87a
27
pkgs/applications/version-management/meld/default.nix
Normal file
27
pkgs/applications/version-management/meld/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{stdenv, fetchurl, pygtk, python, intltool, scrollkeeper, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "meld-1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/gnome/sources/meld/1.3/meld-1.3.1.tar.bz2;
|
||||
sha256 = "0iqnj3qb9l7z12akgmf64fr2xqirsqxflvj60xqcqr5vd5c763nn";
|
||||
};
|
||||
|
||||
buildInputs = [ pygtk python intltool scrollkeeper makeWrapper ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -e s,/usr/local,$out, -i INSTALL
|
||||
sed -e 's,#!.*,#!${python}/bin/python,' -i meld
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/meld --prefix PYTHONPATH : $PYTHONPATH:${pygtk}/lib/${python.libPrefix}/site-packages/gtk-2.0
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Visual diff and merge tool";
|
||||
homepage = http://meld.sourceforge.net;
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -7686,6 +7686,12 @@ let
|
||||
qt = qt4;
|
||||
};
|
||||
|
||||
meld = import ../applications/version-management/meld {
|
||||
inherit fetchurl stdenv python intltool makeWrapper;
|
||||
inherit (gnome) scrollkeeper;
|
||||
pygtk = pyGtkGlade;
|
||||
};
|
||||
|
||||
mercurial = import ../applications/version-management/mercurial {
|
||||
inherit fetchurl stdenv makeWrapper getConfig tk;
|
||||
guiSupport = getConfig ["mercurial" "guiSupport"] false; # for hgk (gitk gui for hg)
|
||||
|
Loading…
Reference in New Issue
Block a user