1 # builder for Emacs packages built for packages.el
3 { lib, stdenv, emacs, texinfo, writeText, gcc }:
17 homepage = args.src.meta.homepage or "https://elpa.gnu.org/packages/${pname}.html";
22 import ./generic.nix { inherit lib stdenv emacs texinfo writeText gcc; } ({
29 emacs --batch -Q -l ${./elpa2nix.el} \
30 -f elpa2nix-install-package \
31 "$src" "$out/share/emacs/site-lisp/elpa"
36 meta = defaultMeta // meta;
39 // removeAttrs args [ "files" "fileSpecs"