Add ECB, the Emacs Code Browser.
svn path=/nixpkgs/trunk/; revision=16234
This commit is contained in:
parent
7d438d5271
commit
ea808c50ce
48
pkgs/applications/editors/emacs-modes/ecb/default.nix
Normal file
48
pkgs/applications/editors/emacs-modes/ecb/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ fetchurl, stdenv, emacs, cedet, jdee, texinfo }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ecb-2.40";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/ecb/${name}.tar.gz";
|
||||||
|
sha256 = "0gp56ixfgnyk2j1fps4mk1yv1vpz81kivb3gq9f56jw4kdlhjrjs";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ emacs ];
|
||||||
|
propagatedBuildInputs = [ cedet jdee ];
|
||||||
|
propagatedUserEnvPkgs = propagatedBuildInputs;
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i "Makefile" \
|
||||||
|
-e 's|CEDET[[:blank:]]*=.*$|CEDET = ${cedet}/share/emacs/site-lisp|g ;
|
||||||
|
s|INSTALLINFO[[:blank:]]*=.*$|INSTALLINFO = ${texinfo}/bin/install-info|g ;
|
||||||
|
s|MAKEINFO[[:blank:]]*=.*$|MAKEINFO = ${texinfo}/bin/makeinfo|g ;
|
||||||
|
s|common/cedet.el|cedet.el|g'
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir "$out/share/emacs/site-lisp"
|
||||||
|
cp -rv *.el *.elc ecb-images "$out/share/emacs/site-lisp"
|
||||||
|
|
||||||
|
ensureDir "$out/share/info"
|
||||||
|
cp -v info-help/*.info* "$out/share/info"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "ECB, the Emacs Code browser";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
ECB stands for "Emacs Code Browser". While Emacs already has
|
||||||
|
good editing support for many modes, its browsing support is
|
||||||
|
somewhat lacking. That's where ECB comes in: it displays a
|
||||||
|
number of informational windows that allow for easy source code
|
||||||
|
navigation and overview.
|
||||||
|
'';
|
||||||
|
|
||||||
|
license = "GPLv2+";
|
||||||
|
|
||||||
|
homepage = http://ecb.sourceforge.net/;
|
||||||
|
|
||||||
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
|
};
|
||||||
|
}
|
@ -631,6 +631,10 @@ let
|
|||||||
inherit fetchurl stdenv cdrkit m4;
|
inherit fetchurl stdenv cdrkit m4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ecb = import ../applications/editors/emacs-modes/ecb {
|
||||||
|
inherit fetchurl stdenv emacs cedet jdee texinfo;
|
||||||
|
};
|
||||||
|
|
||||||
eieio = import ../applications/editors/emacs-modes/eieio {
|
eieio = import ../applications/editors/emacs-modes/eieio {
|
||||||
inherit fetchurl stdenv emacs;
|
inherit fetchurl stdenv emacs;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user