guix-patches
[Top][All Lists]
Advanced

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

[bug#67434] [PATCH 3/3] gnu: Add hledger-ui


From: Tomás Ortín
Subject: [bug#67434] [PATCH 3/3] gnu: Add hledger-ui
Date: Fri, 24 Nov 2023 18:27:20 +0100

* gnu/packages/finance.scm (hledger-ui): New variable.

Change-Id: I03b0bed2b4236502f59319a0ec43331a23a5a918
---
 gnu/packages/finance.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index cd419f2102..11a1d60770 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2023 Skylar Hill <stellarskylark@posteo.net>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
 ;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name>
+;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2092,6 +2093,44 @@ (define-public hledger-web
 editing on the Web.")
     (license license:gpl3)))

+(define-public hledger-ui
+  (package
+    (name "hledger-ui")
+    (version "1.27.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "hledger-ui" version))
+       (sha256
+        (base32 "1srzlz0mdcp0259k0vsc8xkisd9l59s30j1k1x9bnsn179n8bi22"))))
+    (build-system haskell-build-system)
+    (inputs (list ghc-ansi-terminal
+                  ghc-async
+                  ghc-breakpoint
+                  ghc-brick
+                  ghc-cmdargs
+                  ghc-data-default
+                  ghc-doclayout
+                  ghc-extra
+                  ghc-fsnotify
+                  ghc-hledger
+                  ghc-hledger-lib
+                  ghc-microlens-platform
+                  ghc-safe
+                  ghc-split))
+    (properties '((upstream-name . "hledger-ui")))
+    (arguments
+     (list
+      #:haddock? #f))
+    (home-page "http://hledger.org";)
+    (synopsis
+ "Curses-style terminal user interface for the hledger accounting system")
+    (description
+     "This package provides a simple curses-style terminal user interface
+(TUI) for the hledger accounting system, as a convenient alternative to
+the hledger command line interface.")
+    (license license:gpl3)))
+
 (define-public quantlib
   (package
     (name "quantlib")
--
2.41.0






reply via email to

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