From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 60238@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>, dan <i@dan.games>
Subject: [bug#60238] [PATCH v3 7/7] gnu: Add fava.
Date: Sun, 17 Mar 2024 17:08:14 +0000 [thread overview]
Message-ID: <f9470adf91f20806483fa16d83501f7ae199df9d.1710694980.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <b02b0095f046dd634e8188b6ca45e208f5d6a126.1710694980.git.sharlatanus@gmail.com>
From: dan <i@dan.games>
* gnu/packages/finance.scm (fava): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/finance.scm | 50 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c248f614ab..e2d4b95a5e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
+;;; Copyright © 2023 dan <i@dan.games>
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
;;; Copyright © 2023 Skylar Hill <stellarskylark@posteo.net>
@@ -2026,6 +2027,55 @@ (define-public beancount
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
+(define-public fava
+ (package
+ (name "fava")
+ ;; XXX: Newer version requires Flask > 2.2, which is not available in Guix
+ ;; yet.
+ (version "1.24.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fava" version))
+ (sha256
+ (base32 "1iwha9vx223iiyjqbixpz1lp8q766ikhi7xcap3pscjhldxlym4j"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ ((">=8,<10") ">8"))))
+ ;; Tests write to $HOME.
+ ;; FileNotFoundError: [Errno 2] No such file or directory
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list beancount
+ python-babel
+ python-cheroot
+ python-click
+ python-flask
+ python-flask-babel
+ python-jinja2
+ python-markdown2
+ python-ply
+ python-simplejson
+ python-werkzeug))
+ (native-inputs
+ (list python-pytest
+ python-chardet
+ python-dateutil
+ python-setuptools-scm))
+ (home-page "https://beancount.github.io/fava/")
+ (synopsis "Web interface for the accounting tool Beancount")
+ (description "Fava is a web interface for the double-entry bookkeeping
+software Beancount with a focus on features and usability.")
+ (license license:expat)))
+
(define-public emacs-beancount
;; Note that upstream has not made any release since this project moved
;; into its own repository (it was originally part of beancount itself)
--
2.41.0
next prev parent reply other threads:[~2024-03-17 17:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 13:07 [bug#60238] [PATCH 0/7] gnu: Add fava dan
2022-12-21 13:13 ` [bug#60238] [PATCH 1/7] gnu: Add python-markdown2 dan
2022-12-21 13:13 ` [bug#60238] [PATCH 2/7] gnu: Add python-portend dan
2022-12-21 13:14 ` [bug#60238] [PATCH 3/7] gnu: Add python-inflect dan
2022-12-21 13:14 ` [bug#60238] [PATCH 4/7] gnu: Add python-jaraco-text dan
2022-12-21 13:14 ` [bug#60238] [PATCH 5/7] gnu: Add python-pypytools dan
2022-12-21 13:14 ` [bug#60238] [PATCH 6/7] gnu: Add python-cheroot dan
2022-12-21 13:14 ` [bug#60238] [PATCH 7/7] gnu: Add fava dan
2023-01-15 14:37 ` [bug#60238] [PATCH 0/7] " dan
2023-01-26 10:02 ` Ludovic Courtès
2023-02-02 16:54 ` [bug#60238] [PATCH v2 " dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 1/7] gnu: Add python-markdown2 dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 2/7] gnu: Add python-portend dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 3/7] gnu: Add python-inflect dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 4/7] gnu: Add python-jaraco-text dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 5/7] gnu: Add python-pypytools dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 6/7] gnu: Add python-cheroot dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 7/7] gnu: Add fava dan
2024-03-17 17:07 ` [bug#60238] [PATCH 0/7] " Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 1/7] gnu: beancount: Adjust packages style Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 2/7] gnu: beancount: Enable sanity check Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 3/7] gnu: beancount: Enable tests Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 4/7] gnu: Add python-markdown2 Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 5/7] gnu: Add python-pypytools Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 6/7] gnu: Add python-cheroot Sharlatan Hellseher
2024-03-17 17:08 ` Sharlatan Hellseher [this message]
2024-03-19 9:50 ` bug#60238: [PATCH 0/7] gnu: Add fava Sharlatan Hellseher
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=f9470adf91f20806483fa16d83501f7ae199df9d.1710694980.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=60238@debbugs.gnu.org \
--cc=i@dan.games \
/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).