gnu: emacs-paredit: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (paredit): Use 'emacs-build-system'. [arguments, native-inputs]: Remove.
This commit is contained in:
parent
3d01b2939f
commit
79b3c9305a
|
@ -335,28 +335,7 @@ metadata.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
|
"0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
|
||||||
(build-system trivial-build-system)
|
(build-system emacs-build-system)
|
||||||
(native-inputs `(("emacs" ,emacs-minimal)))
|
|
||||||
(arguments
|
|
||||||
`(#:modules ((guix build utils)
|
|
||||||
(guix build emacs-utils))
|
|
||||||
#:builder
|
|
||||||
(begin
|
|
||||||
(use-modules (guix build utils))
|
|
||||||
(use-modules (guix build emacs-utils))
|
|
||||||
|
|
||||||
(let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
|
|
||||||
"/bin/emacs"))
|
|
||||||
(source (assoc-ref %build-inputs "source"))
|
|
||||||
(lisp-dir (string-append %output
|
|
||||||
"/share/emacs/site-lisp"))
|
|
||||||
(target (string-append lisp-dir "/paredit.el")))
|
|
||||||
(mkdir-p lisp-dir)
|
|
||||||
(copy-file source target)
|
|
||||||
(with-directory-excursion lisp-dir
|
|
||||||
(parameterize ((%emacs emacs))
|
|
||||||
(emacs-generate-autoloads ,name lisp-dir)
|
|
||||||
(emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
|
|
||||||
(home-page "http://mumble.net/~campbell/emacs/paredit/")
|
(home-page "http://mumble.net/~campbell/emacs/paredit/")
|
||||||
(synopsis "Emacs minor mode for editing parentheses")
|
(synopsis "Emacs minor mode for editing parentheses")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue