summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-02-09 08:34:25 +0000
committerLudovic Courtès <ludo@gnu.org>2009-02-09 08:34:25 +0000
commit8eb6ecb1ec98423bd859c4f794ae15badfcc1997 (patch)
tree69aeae815b8b7f223db219b27db4ad0e50c27f80 /pkgs/applications
parentee9a5c1c89836cacfc6b9c8167cbe8e4907993e7 (diff)
downloadnixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar.gz
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar.bz2
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar.lz
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar.xz
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.tar.zst
nixpkgs-8eb6ecb1ec98423bd859c4f794ae15badfcc1997.zip
Add EIEIO, a CLOS clone for Emacs.
svn path=/nixpkgs/trunk/; revision=14011
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/emacs-modes/eieio/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/eieio/default.nix b/pkgs/applications/editors/emacs-modes/eieio/default.nix
new file mode 100644
index 00000000000..bbe4c6085ac
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/eieio/default.nix
@@ -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/;
+  };
+}