From patchwork Sat Aug 20 06:56:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 41785 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4483727BBE9; Sat, 20 Aug 2022 07:57:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 93D4027BBEA for ; Sat, 20 Aug 2022 07:57:15 +0100 (BST) Received: from localhost ([::1]:52066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPIPy-0001Vd-Nv for patchwork@mira.cbaines.net; Sat, 20 Aug 2022 02:57:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPIPm-0001UL-DX for guix-patches@gnu.org; Sat, 20 Aug 2022 02:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPIPm-0000Bj-4N for guix-patches@gnu.org; Sat, 20 Aug 2022 02:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPIPm-00043r-0g for guix-patches@gnu.org; Sat, 20 Aug 2022 02:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57305] [PATCH] gnu: Add emacs-alarm-clock. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Aug 2022 06:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57305 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57305@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166097861615598 (code B ref -1); Sat, 20 Aug 2022 06:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Aug 2022 06:56:56 +0000 Received: from localhost ([127.0.0.1]:59508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPIPg-00043V-6O for submit@debbugs.gnu.org; Sat, 20 Aug 2022 02:56:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:58476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPIPb-00043K-Ox for submit@debbugs.gnu.org; Sat, 20 Aug 2022 02:56:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPIPa-0001IF-K8 for guix-patches@gnu.org; Sat, 20 Aug 2022 02:56:51 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPIPO-00008U-0X for guix-patches@gnu.org; Sat, 20 Aug 2022 02:56:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HDKW6rwX3jcNn9L014avVQLQhnw5P5sjn4o7DiWRQbM=; b=OTjAqeUWFCKQm2OfGQKi2nrRlf w25XQn0/61O0Z6K0Tm5rpG727HoNmCS/uDEC8ZzBFBUBXmJD8oCOzFo3w/b1DpvQh+FJsWCWOP6cb da7yn73HLXXH0Nw0lugjb2p0s47WY2vqBUFh5TgFHkGbgyF4iDUj5HYcASVpaqPwAsi1wZbfXZrEK 8jx5J1mT6A9aChIOr17o5oxfOQxXLpQox9jyutjri8GeUIYaZBxEuW/C6RFwO4pik8aJAgFFD/PVv 0GTLZ12JikTMJg9ptmIsfu3nFclEZEbzNOZjWUpSNGNJBnzwvbVTuiHo+HgZFRXQahz3Zw/kaZnFK eRgAfrmw==; Received: from [192.168.2.1] (port=54990 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oPIPF-0006Su-2i; Sat, 20 Aug 2022 12:26:29 +0530 From: Arun Isaac Date: Sat, 20 Aug 2022 12:26:27 +0530 Message-Id: <20220820065627.17333-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2016-2022 Nicolas Goaziou ;;; Copyright © 2016, 2017, 2018 Alex Vong -;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Arun Isaac +;;; Copyright © 2016–2022 Arun Isaac ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2017, 2018, 2019, 2020, 2022 Mathieu Othacehe ;;; Copyright © 2017, 2018, 2019, 2020, 2021, 2022 Clément Lassieur @@ -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+)))