me
/
guix
Archived
1
0
Fork 0

gnu: emacs-m-buffer-el: Use G-expressions.

* gnu/packages/emacs-xyz.scm (emacs-m-buffer-el)[arguments]<#:phases>: Use G-expressions.
Nicolas Goaziou 2022-03-02 15:10:13 +01:00
parent 8e2eecc67b
commit 3aaec33770
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 12 additions and 11 deletions

View File

@ -18872,22 +18872,23 @@ mode.")
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/phillord/m-buffer-el") (url "https://github.com/phillord/m-buffer-el")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1sx76i59razwccvn6x7rx5a124bfyjw9fcbxf4gj7nsg33qiq809")))) "1sx76i59razwccvn6x7rx5a124bfyjw9fcbxf4gj7nsg33qiq809"))))
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-before 'install 'check #~(modify-phases %standard-phases
(lambda* (#:key tests? #:allow-other-keys) (add-before 'install 'check
(when tests? (lambda* (#:key tests? #:allow-other-keys)
(invoke "emacs" "--batch" "-L" "." (when tests?
"-l" "test/m-buffer-test.el" (invoke "emacs" "--batch" "-L" "."
"-l" "test/m-buffer-at-test.el" "-l" "test/m-buffer-test.el"
"-f" "ert-run-tests-batch-and-exit"))))))) "-l" "test/m-buffer-at-test.el"
"-f" "ert-run-tests-batch-and-exit")))))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/phillord/m-buffer-el") (home-page "https://github.com/phillord/m-buffer-el")
(synopsis "List oriented buffer operations for Emacs") (synopsis "List oriented buffer operations for Emacs")