diff options
author | Peter Simons <simons@cryp.to> | 2015-01-30 18:30:38 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-01-30 18:30:38 +0100 |
commit | 9f1cb04876d709ef8ff5b5d8b3776d9ac633ca02 (patch) | |
tree | 15926f9d06c303c7da114064bf29d252b99c6417 /pkgs/applications/editors | |
parent | 1335946d61605e75b2e4a71a704915150cb13c5e (diff) |
emacs-let-alist: add version 1.0.3
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/let-alist/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/let-alist/default.nix b/pkgs/applications/editors/emacs-modes/let-alist/default.nix new file mode 100644 index 0000000000000..863e9f95d95ef --- /dev/null +++ b/pkgs/applications/editors/emacs-modes/let-alist/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, emacs }: + +stdenv.mkDerivation rec { + name = "let-alist-1.0.3"; + + src = fetchurl { + url = "http://elpa.gnu.org/packages/let-alist-1.0.3.el"; + sha256 = "12n1cmjc7hzyy0jmsdxqz1hqzg4ri4nvvi0p9mw1d6v44xzfm0mx"; + }; + + buildInputs = [ emacs ]; + + unpackPhase = "cp -v ${src} let-alist.el"; + buildPhase = "emacs --batch -f batch-byte-compile let-alist.el"; + + installPhase = '' + mkdir -p $out/share/emacs/site-lisp + mv -v *.el *.elc $out/share/emacs/site-lisp/ + ''; + + meta = { + homepage = "http://elpa.gnu.org/packages/let-alist.html"; + description = "Easily let-bind values of an assoc-list by their names"; + license = stdenv.lib.licenses.gpl3Plus; + maintainers = with stdenv.lib.maintainers; [ simons ]; + }; +} |