adding small emacs session mode packages remembering inputs

svn path=/nixpkgs/trunk/; revision=15318
This commit is contained in:
Marc Weber 2009-04-26 11:06:54 +00:00
parent 4c72da6b82
commit 3a9bfe866c
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{stdenv, fetchurl, emacs}:
stdenv.mkDerivation rec {
name = "session-management-for-emacs-2.2a";
src = fetchurl {
url = "mirror://sourceforge.net/sourceforge/emacs-session/session-2.2a.tar.gz";
sha256 = "0i01dnkizs349ahyybzy0mjzgj52z65rxynsj2mlw5mm41sbmprp";
};
buildInputs = [emacs];
installPhase = ''
ensureDir "$out/share/emacs/site-lisp"
cp lisp/*.el "$out/share/emacs/site-lisp/"
'';
meta = {
/* installation: add to your ~/.emacs
(require 'session)
(add-hook 'after-init-hook 'session-initialize)
*/
description = "small session management for emacs";
homepage = http://emacs-session.sourceforge.net/;
license = "GPL";
};
}

View file

@ -603,6 +603,10 @@ let
inherit fetchurl stdenv emacs;
};
emacsSessionManagement = import ../applications/editors/emacs-modes/session-management-for-emacs {
inherit fetchurl stdenv emacs;
};
enblendenfuse = import ../tools/graphics/enblend-enfuse {
inherit fetchurl stdenv libtiff libpng lcms libxmi boost;
};