mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add emacs-alarm-clock.
* gnu/packages/emacs-xyz.scm (emacs-alarm-clock): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
5655a84779
commit
5299ee228f
1 changed files with 35 additions and 0 deletions
|
@ -1993,6 +1993,41 @@ (define-public emacs-ahg
|
|||
Distributed @acronym{Source Control Management, SCM} system.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public emacs-alarm-clock
|
||||
(package
|
||||
(name "emacs-alarm-clock")
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/wlemuel/alarm-clock")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11afq6lnlqdzbll015fx3031bslwfaz5362qgk2ipgqlk872559h"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list #:include #~(cons "alarm.mp3" %default-include)
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((mpg123 (search-input-file inputs "/bin/mpg123"))
|
||||
(notify-send
|
||||
(search-input-file inputs "/bin/notify-send")))
|
||||
(substitute* "alarm-clock.el"
|
||||
(("\"mpg123\"") (string-append "\"" mpg123 "\""))
|
||||
(("notify-send") notify-send))))))))
|
||||
(inputs
|
||||
(list libnotify mpg123))
|
||||
(propagated-inputs
|
||||
(list emacs-f))
|
||||
(home-page "https://github.com/wlemuel/alarm-clock")
|
||||
(synopsis "Alarm clock for Emacs")
|
||||
(description "Alarm Clock provides an alarm clock for Emacs.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-anaphora
|
||||
(package
|
||||
(name "emacs-anaphora")
|
||||
|
|
Loading…
Reference in a new issue