diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-02-25 14:30:50 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-02-25 14:30:50 +0000 |
commit | a7cf0b2f02b50bb203c6fe95320eed5929171c7b (patch) | |
tree | 6451050450f846c08f00a1979daeb3b33bedf2a5 /pkgs | |
parent | c0dd6fd3c9a4a40363f9d93688a50bad83088d85 (diff) | |
download | nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar.gz nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar.bz2 nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar.lz nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar.xz nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.tar.zst nixpkgs-a7cf0b2f02b50bb203c6fe95320eed5929171c7b.zip |
Add CEDET, the umbrella project for Semantic and EIEIO.
svn path=/nixpkgs/trunk/; revision=14240
Diffstat (limited to 'pkgs')
4 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/cedet/default.nix b/pkgs/applications/editors/emacs-modes/cedet/default.nix new file mode 100644 index 00000000000..a6dd9ecb661 --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/cedet/default.nix @@ -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/; + }; +} diff --git a/pkgs/applications/editors/emacs-modes/eieio/default.nix b/pkgs/applications/editors/emacs-modes/eieio/default.nix index bbe4c6085ac..436b71022fc 100644 --- a/pkgs/applications/editors/emacs-modes/eieio/default.nix +++ b/pkgs/applications/editors/emacs-modes/eieio/default.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation rec { description = "EIEIO: Enhanced Implementation of Emacs Interpreted Objects"; longDescription = '' + This package is now part of CEDET, please upgrade. + EIEIO is a package which implements a CLOS subset for Emacs. It includes examples which can draw simple tree graphs, and bar charts. diff --git a/pkgs/applications/editors/emacs-modes/semantic/default.nix b/pkgs/applications/editors/emacs-modes/semantic/default.nix index dfb1902c1c2..0ff6392472b 100644 --- a/pkgs/applications/editors/emacs-modes/semantic/default.nix +++ b/pkgs/applications/editors/emacs-modes/semantic/default.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation rec { description = "Semantic, infrastructure for parser based text analysis in Emacs"; longDescription = '' + This package is now part of CEDET, please upgrade. + Semantic is an infrastructure for parser based text analysis in Emacs. It is a lexer, parser-generator, and parser. It is written in Emacs Lisp and is customized to the way Emacs thinks diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74f36f5431e..4ff02cd139c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -499,6 +499,10 @@ let inherit fetchurl stdenv cmake libcap zlib bzip2; }; + cedet = import ../applications/editors/emacs-modes/cedet { + inherit fetchurl stdenv emacs; + }; + checkinstall = import ../tools/package-management/checkinstall { inherit fetchurl stdenv gettext; }; |