From: Arun Isaac <arunisaac@systemreboot.net>
To: 57305@debbugs.gnu.org
Cc: Arun Isaac <arunisaac@systemreboot.net>
Subject: [bug#57305] [PATCH] gnu: Add emacs-alarm-clock.
Date: Sat, 20 Aug 2022 12:26:27 +0530 [thread overview]
Message-ID: <20220820065627.17333-1-arunisaac@systemreboot.net> (raw)
* gnu/packages/emacs-xyz.scm (emacs-alarm-clock): New variable.
---
gnu/packages/emacs-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a3a75c3e07..fe8ba9422d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16,7 +16,7 @@
;;; Copyright © 2016, 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2016–2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2017, 2018, 2019, 2020, 2022 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022 Clément Lassieur <clement@lassieur.org>
@@ -31992,3 +31992,38 @@ (define-public emacs-vundo
tree to go back to previous buffer states. To use vundo, type @kbd{M-x vundo RET} in
the buffer you want to undo. An undo tree buffer should pop up.")
(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 #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "alarm-clock.el"
+ (("\"mpg123\"")
+ (string-append "\"" (search-input-file inputs "/bin/mpg123") "\""))
+ (("notify-send")
+ (search-input-file inputs "/bin/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 "@code{emacs-alarm-clock} provides an alarm clock for
+Emacs.")
+ (license license:gpl3+)))
--
2.37.1
next reply other threads:[~2022-08-20 6:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-20 6:56 Arun Isaac [this message]
2022-08-27 9:05 ` bug#57305: [PATCH] gnu: Add emacs-alarm-clock Nicolas Goaziou
2022-08-28 11:06 ` [bug#57305] " Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220820065627.17333-1-arunisaac@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=57305@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).