nixpkgs/pkgs/applications/editors/emacs-modes/let-alist/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
695 B
Nix

{ 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;
};
}