Add EIEIO, a CLOS clone for Emacs.

svn path=/nixpkgs/trunk/; revision=14011
This commit is contained in:
Ludovic Courtès 2009-02-09 08:34:25 +00:00
parent ee9a5c1c89
commit 8eb6ecb1ec
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ fetchurl, stdenv, emacs }:
stdenv.mkDerivation rec {
name = "eieio-0.17";
src = fetchurl {
url = "mirror://sourceforge/cedet/${name}.tar.gz";
sha256 = "0n31z9d47ar10g9xrnzz3nl4pmixw1nkk0kpxaillls7xvjd1zy2";
};
buildInputs = [ emacs ];
doCheck = false;
checkPhase = "make test";
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* "$out/share/info"
'';
meta = {
description = "EIEIO: Enhanced Implementation of Emacs Interpreted Objects";
longDescription = ''
EIEIO is a package which implements a CLOS subset for Emacs. It
includes examples which can draw simple tree graphs, and bar
charts.
'';
license = "GPLv2+";
homepage = http://cedet.sourceforge.net/;
};
}

View File

@ -691,6 +691,10 @@ let
inherit fetchurl stdenv cdrkit m4;
};
eieio = import ../applications/editors/emacs-modes/eieio {
inherit fetchurl stdenv emacs;
};
enscript = import ../tools/text/enscript {
inherit fetchurl stdenv;
};