diff options
author | Marius Bakke <marius@gnu.org> | 2021-10-14 00:01:12 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-10-14 00:01:12 +0200 |
commit | 0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b (patch) | |
tree | 8796bb011e021bf01fe5cb15c70641ee0c0ed5f0 /gnu/packages/finance.scm | |
parent | 641b31de5e9716ff8bd088f4834c98d4a664b55a (diff) | |
parent | 1961b28445080c7b9fb8bf5291ac9a814303522a (diff) | |
download | guix-0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b.tar guix-0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b.tar.gz |
Merge branch 'master' into core-updates-frozen
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r-- | gnu/packages/finance.scm | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3c3977b656..03f9904341 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1678,25 +1678,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 |