summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-05-05 09:01:23 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 21:41:47 +0100
commitcb5fb9854c58b74ba0d9b925dd05637f78896db0 (patch)
tree702842ae41b8f3a1d85db5128d79c9fedb54c67c
parentee4ebdf86a32d4ce41fe7e15822fd4874833f502 (diff)
gnu: Add python-beangulp.
* gnu/packages/finance.scm (python-beangulp): New variable. Change-Id: Id3fa32decb1ec3fe6d9f697a8647f1b826f022be Reviwed-by: Ian Eure <ian@retrospec.tv> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/finance.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 601676d8ae..10dd650d41 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2123,6 +2123,38 @@ query engine that takes advantage of the structure of double-entry transactions,
it can easily generate custom reports specific to accounting purposes.")
(license license:gpl2)))
+(define-public python-beangulp
+ (package
+ (name "python-beangulp")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch) ; Pypi archive doesn't contain the test suite.
+ (uri (git-reference
+ (url "https://github.com/beancount/beangulp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zlanw88dq7czgsdvqwz2fgxamyrfnx15ymv4d7fnjrj04glpg47"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list beancount-3
+ python-beautifulsoup4
+ python-chardet
+ python-petl
+ python-click
+ python-lxml
+ python-magic))
+ (native-inputs
+ (list python-setuptools
+ python-wheel
+ python-pytest))
+ (home-page "https://github.com/beancount/beangulp")
+ (synopsis "Library to facilitate importing data into a Beancount ledger.")
+ (description "A framework for importing transactions into a Beancount ledger
+from account statements and other documents and for managing documents.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")