3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/emacs/elisp-packages/session-management-for-emacs/default.nix

28 lines
694 B
Nix
Raw Normal View History

{stdenv, fetchurl, emacs}:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
name = "session-management-for-emacs-2.2a";
2021-01-01 13:46:40 +00:00
src = fetchurl {
2013-07-14 02:17:07 +01:00
url = "mirror://sourceforge/emacs-session/session-2.2a.tar.gz";
sha256 = "37dfba7420b5164eab90dafa9e8bf9a2c8f76505fe2fefa14a64e81fa76d0144";
};
buildInputs = [emacs];
2021-01-01 13:46:40 +00:00
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"
cp lisp/*.el "$out/share/emacs/site-lisp/"
'';
2021-01-01 13:46:40 +00:00
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";
};
}