guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60238] [PATCH 7/7] gnu: Add fava.


From: dan
Subject: [bug#60238] [PATCH 7/7] gnu: Add fava.
Date: Wed, 21 Dec 2022 21:14:04 +0800

* gnu/packages/finance.scm (fava): New variable.
---
 gnu/packages/finance.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f9ee7acaa1..fea1bbcb28 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2022 dan <i@dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1903,6 +1904,40 @@ (define-public beancount
 generate a variety of reports from them, and provides a web interface.")
     (license license:gpl2)))
 
+(define-public fava
+  (package
+    (name "fava")
+    (version "1.23.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "fava" version))
+              (sha256
+               (base32
+                "0dbg29i3pdbv8m2n7qspafn5ja1glxf27xcdz8rdn3myjqh183sk"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list beancount
+                             python-babel
+                             python-beautifulsoup4
+                             python-bottle
+                             python-cheroot
+                             python-click
+                             python-flask
+                             python-flask-babel
+                             python-jinja2
+                             python-magic
+                             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 "Web interface for the accounting tool Beancount.")
+    (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.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]