1 # builder for Emacs packages built for packages.el
12 genericBuild = import ./generic.nix {
21 libBuildHelper = import ./lib-build-helper.nix;
25 libBuildHelper.extendMkDerivation' genericBuild (
37 elpa2nix = args.elpa2nix or ./elpa2nix.el;
42 args.installPhase or ''
45 emacs --batch -Q -l "$elpa2nix" \
46 -f elpa2nix-install-package \
47 "$src" "$out/share/emacs/site-lisp/elpa"
53 homepage = args.src.meta.homepage or "https://elpa.gnu.org/packages/${pname}.html";