mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Add EIEIO, a CLOS clone for Emacs.
svn path=/nixpkgs/trunk/; revision=14011
This commit is contained in:
parent
ee9a5c1c89
commit
8eb6ecb1ec
38
pkgs/applications/editors/emacs-modes/eieio/default.nix
Normal file
38
pkgs/applications/editors/emacs-modes/eieio/default.nix
Normal 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/;
|
||||||
|
};
|
||||||
|
}
|
@ -691,6 +691,10 @@ let
|
|||||||
inherit fetchurl stdenv cdrkit m4;
|
inherit fetchurl stdenv cdrkit m4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
eieio = import ../applications/editors/emacs-modes/eieio {
|
||||||
|
inherit fetchurl stdenv emacs;
|
||||||
|
};
|
||||||
|
|
||||||
enscript = import ../tools/text/enscript {
|
enscript = import ../tools/text/enscript {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user