2021-11-10 04:29:41 +00:00
|
|
|
{ stdenv, fetchurl, emacs, lib }:
|
2009-04-26 12:06:54 +01:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "session-management-for-emacs";
|
|
|
|
version = "2.2a";
|
2021-01-01 13:46:40 +00:00
|
|
|
|
2009-04-26 12:06:54 +01:00
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "mirror://sourceforge/emacs-session/session-${version}.tar.gz";
|
2013-06-08 11:28:49 +01:00
|
|
|
sha256 = "37dfba7420b5164eab90dafa9e8bf9a2c8f76505fe2fefa14a64e81fa76d0144";
|
2009-04-26 12:06:54 +01:00
|
|
|
};
|
2013-06-08 11:28:49 +01:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
buildInputs = [ emacs ];
|
2021-01-01 13:46:40 +00:00
|
|
|
|
2009-04-26 12:06:54 +01:00
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p "$out/share/emacs/site-lisp"
|
2009-04-26 12:06:54 +01:00
|
|
|
cp lisp/*.el "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
|
|
|
|
2021-11-09 09:19:45 +00:00
|
|
|
meta = with lib; {
|
|
|
|
/* installation: add to your ~/.emacs
|
|
|
|
(require 'session)
|
|
|
|
(add-hook 'after-init-hook 'session-initialize)
|
|
|
|
*/
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Small session management for emacs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://emacs-session.sourceforge.net/";
|
2021-11-10 19:10:52 +00:00
|
|
|
license = licenses.gpl2;
|
2021-11-09 09:19:45 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2009-04-26 12:06:54 +01:00
|
|
|
};
|
|
|
|
}
|