3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/emacs/elisp-packages/session-management-for-emacs/default.nix
Matthew Mazzanti b834903c0d Fix "session-management-for-emacs" license
- Change "license" to "licenses"
- Change to "gpl2", rather than non-existant "gpl" attr
2021-11-10 14:12:36 -05:00

30 lines
786 B
Nix

{ stdenv, fetchurl, emacs, lib }:
stdenv.mkDerivation rec {
pname = "session-management-for-emacs";
version = "2.2a";
src = fetchurl {
url = "mirror://sourceforge/emacs-session/session-${version}.tar.gz";
sha256 = "37dfba7420b5164eab90dafa9e8bf9a2c8f76505fe2fefa14a64e81fa76d0144";
};
buildInputs = [ emacs ];
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"
cp lisp/*.el "$out/share/emacs/site-lisp/"
'';
meta = with lib; {
/* 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 = licenses.gpl2;
maintainers = with maintainers; [ ];
};
}