mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: emacs-org-pomodoro: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-org-pomodoro)[arguments]: Use G-expressions. Remove trailing #T.
This commit is contained in:
parent
5f8e89b702
commit
256cdde7ad
1 changed files with 22 additions and 22 deletions
|
@ -8008,28 +8008,28 @@ (define-public emacs-org-pomodoro
|
|||
(propagated-inputs
|
||||
(list emacs-alert))
|
||||
(arguments
|
||||
`(#:include (cons "^resources\\/" %default-include)
|
||||
#:tests? #t
|
||||
#:test-command '("emacs" "--batch"
|
||||
"-l" "org-pomodoro-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'make-tests-writable
|
||||
(lambda _
|
||||
(make-file-writable "org-pomodoro-tests.el")
|
||||
#t))
|
||||
(add-before 'check 'add-require
|
||||
(lambda _
|
||||
(emacs-batch-edit-file "org-pomodoro-tests.el"
|
||||
`(progn (progn (goto-char (point-min))
|
||||
(re-search-forward
|
||||
"ert-deftest")
|
||||
(beginning-of-line)
|
||||
(forward-line -1)
|
||||
(insert "(require 'org-pomodoro)"))
|
||||
(basic-save-buffer)))
|
||||
#t)))))
|
||||
(list
|
||||
#:include #~(cons "^resources\\/" %default-include)
|
||||
#:tests? #t
|
||||
#:test-command
|
||||
(list
|
||||
"emacs" "--batch"
|
||||
"-l" "org-pomodoro-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'make-tests-writable
|
||||
(lambda _
|
||||
(make-file-writable "org-pomodoro-tests.el")))
|
||||
(add-before 'check 'add-require
|
||||
(lambda _
|
||||
(emacs-batch-edit-file "org-pomodoro-tests.el"
|
||||
`(progn (progn (goto-char (point-min))
|
||||
(re-search-forward "ert-deftest")
|
||||
(beginning-of-line)
|
||||
(forward-line -1)
|
||||
(insert "(require 'org-pomodoro)"))
|
||||
(basic-save-buffer))))))))
|
||||
(home-page "https://github.com/marcinkoziej/org-pomodoro")
|
||||
(synopsis "Pomodoro technique for org-mode")
|
||||
(description "@code{emacs-org-pomodoro} adds very basic support for
|
||||
|
|
Loading…
Reference in a new issue