[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: emacs-beancount: Restructure package, now in
From: |
guix-commits |
Subject: |
branch master updated: gnu: emacs-beancount: Restructure package, now independent of beancount. |
Date: |
Tue, 12 Oct 2021 23:34:12 -0400 |
This is an automated email from the git hooks/post-receive script.
cwebber pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 3783240 gnu: emacs-beancount: Restructure package, now independent of
beancount.
3783240 is described below
commit 37832406bef8e9b61b1c3b533988d5a873cb9a21
Author: Christine Lemmer-Webber <cwebber@dustycloud.org>
AuthorDate: Wed Sep 29 12:46:01 2021 -0400
gnu: emacs-beancount: Restructure package, now independent of beancount.
* gnu/packages/finance.scm (emacs-beancount): Restructure package, now
independent of beancount and in its own git repository. Note that there is
no
version number for the now independent code tree, so unfortunately this
might
look like a "version downgrade" to some users as it switched from being
beancount's revision number to being a git-derived version number.
---
gnu/packages/finance.scm | 41 +++++++++++++++++++++++------------------
1 file changed, 23 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 557a19e..5e243d0 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1668,25 +1668,30 @@ define financial transaction records in a text file,
read them in memory,
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
-;; The beancount source ships with elisp in a subdirectory
(define-public emacs-beancount
- (package
- (inherit beancount)
- (name "emacs-beancount")
- (build-system emacs-build-system)
- (arguments
- `(#:tests? #f ;no tests
- #:phases
- (modify-phases %standard-phases
- (add-before 'install 'chdir-emacs
- (lambda _
- (chdir "editors/emacs")
- #t)))))
- (inputs '())
- (native-inputs '())
- (synopsis "Emacs mode for beancount")
- (description
- "Emacs-beancount is an Emacs mode for the Beancount accounting tool.")))
+ ;; Note that upstream has not made any release since this project moved
+ ;; into its own repository (it was originally part of beancount itself)
+ (let ((commit "dbafe6a73d90c1f64d457b356b9dbb43499f70d5")
+ (revision "0"))
+ (package
+ (name "emacs-beancount")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/beancount/beancount-mode")
+ (commit commit)))
+ (sha256
+ (base32
+ "0v9bws2gv5b00x829p7hrcxqgdp7iwxvv1vhfjka81qrw6w1fvjw"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/beancount/beancount-mode")
+ (synopsis "Emacs mode for Beancount")
+ (description
+ "Emacs-beancount is an Emacs mode for the Beancount accounting tool.")
+ (license license:gpl3+))))
(define-public hledger-web
(package
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: emacs-beancount: Restructure package, now independent of beancount.,
guix-commits <=