From: "Collin J. Doering via Guix-patches" via <guix-patches@gnu.org>
To: 54771@debbugs.gnu.org
Cc: "Collin J. Doering" <collin@rekahsoft.ca>
Subject: [bug#54771] [PATCH] gnu: Add emacs-hledger-mode
Date: Thu, 7 Apr 2022 12:54:43 -0400 [thread overview]
Message-ID: <20220407165442.23653-1-collin@rekahsoft.ca> (raw)
* gnu/packages/finance.scm (emacs-hledger-mode): New variable
---
gnu/packages/finance.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 9f2d055048..d6cd2981a6 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages documentation)
#:use-module (gnu packages dns)
#:use-module (gnu packages emacs)
+ #:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages dbm)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
@@ -455,6 +456,37 @@ (define-public emacs-ledger-mode
This package provides the Emacs mode.")
(license license:gpl2+)))
+(define-public emacs-hledger-mode
+ (let ((commit "9ac07ff0adbce6a402c17e789b1750f9da0d22f4")
+ (revision "1"))
+ (package
+ (name "emacs-hledger-mode")
+ (version (git-version "20210706.1225" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/narendraj9/hledger-mode")
+ (commit commit)))
+ (sha256
+ (base32
+ "0x3dgws8nh7q8x7zzjwbm5k9n7gi7qqd3ww7y51fbx6p6ii3jpp4"))))
+ (build-system emacs-build-system)
+ (propagated-inputs `(("emacs-popup" ,emacs-popup)
+ ("emacs-async" ,emacs-async)
+ ("emacs-htmlize" ,emacs-htmlize)))
+ (arguments
+ '(#:include '("^[^/]+.el$")
+ #:exclude '()))
+ (home-page "https://github.com/narendraj9/hledger-mode")
+ (synopsis "Mode for writing journal entries for hledger")
+ (description
+ "A major mode for writing hledger journal files. It generates some
+useful reports along with some financial ratios that can help you
+keep a check on your financial health. This is an attempt to
+organize personal finances for Emacs users. If you don not like this,
+try @code{emacs-ledger-mode}.")
+ (license license:gpl3))))
+
(define-public geierlein
(package
(name "geierlein")
--
2.34.0
next reply other threads:[~2022-04-07 16:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-07 16:54 Collin J. Doering via Guix-patches via [this message]
2022-04-08 1:30 ` [bug#54771] Follow up: this issue didn't appear on mumi Collin J. Doering via Guix-patches via
2022-04-08 7:52 ` zimoun
2023-03-18 0:53 ` bug#54771: [PATCH] gnu: Add emacs-hledger-mode Collin J. Doering via Guix-patches via
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=20220407165442.23653-1-collin@rekahsoft.ca \
--to=guix-patches@gnu.org \
--cc=54771@debbugs.gnu.org \
--cc=collin@rekahsoft.ca \
/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).