Add CEDET, the umbrella project for Semantic and EIEIO.
svn path=/nixpkgs/trunk/; revision=14240
This commit is contained in:
parent
c0dd6fd3c9
commit
a7cf0b2f02
|
@ -0,0 +1,60 @@
|
||||||
|
{ fetchurl, stdenv, emacs }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "cedet-1.0pre4";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/cedet/${name}.tar.gz";
|
||||||
|
sha256 = "0r1cvik8drbx4if3a54xla7l31gcqwb44rqqgfqdvwg5wzcd5slv";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ emacs ];
|
||||||
|
|
||||||
|
# FIXME: EIEIO tests fail with:
|
||||||
|
# eieio-tests.el:474:1:Error: Symbol's value as variable is void: class-typep-var
|
||||||
|
# See http://thread.gmane.org/gmane.emacs.eieio/72 .
|
||||||
|
doCheck = false;
|
||||||
|
checkPhase = ''
|
||||||
|
for dir in *
|
||||||
|
do
|
||||||
|
if [ -f "$dir/Makefile" ] && grep -q "test:" "$dir/Makefile"
|
||||||
|
then
|
||||||
|
echo "testing \`$dir'..."
|
||||||
|
make test -C "$dir"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir "$out/share/emacs/site-lisp"
|
||||||
|
cp -v */*.el */*.elc "$out/share/emacs/site-lisp"
|
||||||
|
chmod a-x "$out/share/emacs/site-lisp/"*
|
||||||
|
|
||||||
|
ensureDir "$out/share/info"
|
||||||
|
cp -v */*.info* */*/*.info* "$out/share/info"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "CEDET, a Collection of Emacs Development Environment Tools";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
CEDET is a collection of tools written with the end goal of
|
||||||
|
creating an advanced development environment in Emacs.
|
||||||
|
|
||||||
|
Emacs already is a great environment for writing software, but
|
||||||
|
there are additional areas that need improvement. Many new
|
||||||
|
ideas for integrated environments have been developed in newer
|
||||||
|
products, such as JBuilder, Eclipse, or KDevelop. CEDET is a
|
||||||
|
project which brings together several different tools needed to
|
||||||
|
implement advanced features.
|
||||||
|
|
||||||
|
CEDET includes EIEIO (Enhanced Implementation of Emacs
|
||||||
|
Interpreted Objects), Semantic, SRecode, Speedbar, EDE (Emacs
|
||||||
|
Development Environment), and COGRE (COnnected GRaph Editor).
|
||||||
|
'';
|
||||||
|
|
||||||
|
license = "GPLv2+";
|
||||||
|
|
||||||
|
homepage = http://cedet.sourceforge.net/;
|
||||||
|
};
|
||||||
|
}
|
|
@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
description = "EIEIO: Enhanced Implementation of Emacs Interpreted Objects";
|
description = "EIEIO: Enhanced Implementation of Emacs Interpreted Objects";
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
This package is now part of CEDET, please upgrade.
|
||||||
|
|
||||||
EIEIO is a package which implements a CLOS subset for Emacs. It
|
EIEIO is a package which implements a CLOS subset for Emacs. It
|
||||||
includes examples which can draw simple tree graphs, and bar
|
includes examples which can draw simple tree graphs, and bar
|
||||||
charts.
|
charts.
|
||||||
|
|
|
@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
|
||||||
description = "Semantic, infrastructure for parser based text analysis in Emacs";
|
description = "Semantic, infrastructure for parser based text analysis in Emacs";
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
This package is now part of CEDET, please upgrade.
|
||||||
|
|
||||||
Semantic is an infrastructure for parser based text analysis in
|
Semantic is an infrastructure for parser based text analysis in
|
||||||
Emacs. It is a lexer, parser-generator, and parser. It is
|
Emacs. It is a lexer, parser-generator, and parser. It is
|
||||||
written in Emacs Lisp and is customized to the way Emacs thinks
|
written in Emacs Lisp and is customized to the way Emacs thinks
|
||||||
|
|
|
@ -499,6 +499,10 @@ let
|
||||||
inherit fetchurl stdenv cmake libcap zlib bzip2;
|
inherit fetchurl stdenv cmake libcap zlib bzip2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cedet = import ../applications/editors/emacs-modes/cedet {
|
||||||
|
inherit fetchurl stdenv emacs;
|
||||||
|
};
|
||||||
|
|
||||||
checkinstall = import ../tools/package-management/checkinstall {
|
checkinstall = import ../tools/package-management/checkinstall {
|
||||||
inherit fetchurl stdenv gettext;
|
inherit fetchurl stdenv gettext;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue