2009-02-25 15:30:50 +01:00
|
|
|
{ fetchurl, stdenv, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-03-02 16:11:54 +01:00
|
|
|
name = "cedet-1.0pre6";
|
2009-02-25 15:30:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cedet/${name}.tar.gz";
|
2009-03-02 16:11:54 +01:00
|
|
|
sha256 = "0pvd54rjlba12cxgqibm8v4i8x43r5c239z891lgcbafjvkzpdxb";
|
2009-02-25 15:30:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
# FIXME: EIEIO tests fail with:
|
2009-03-02 16:11:54 +01:00
|
|
|
# eieio-tests.el:521:1:Error: Symbol's value as variable is void: class-typep-var
|
2009-02-25 15:30:50 +01:00
|
|
|
# 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"
|
2009-02-25 22:12:13 +01:00
|
|
|
cp -v */*.el */*/*.el */*.elc */*/*.elc "$out/share/emacs/site-lisp"
|
2009-02-25 15:30:50 +01:00
|
|
|
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/;
|
|
|
|
};
|
|
|
|
}
|