diff options
author | Timo Wilken | 2023-05-28 20:35:19 +0200 |
---|---|---|
committer | Timo Wilken | 2023-05-28 21:34:21 +0200 |
commit | 9447bb2ec9bc9e6fa75c9709adf485151032076a (patch) | |
tree | 2171732755f47ceb6b13a5351b15c3ace41d7b17 /tw/packages | |
parent | 98374ca5f758bc7d82557e0d2b5c710175d37a21 (diff) |
Deploy hledger dashboard daemon
Diffstat (limited to 'tw/packages')
-rw-r--r-- | tw/packages/finance.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tw/packages/finance.scm b/tw/packages/finance.scm new file mode 100644 index 00000000..08db5f30 --- /dev/null +++ b/tw/packages/finance.scm @@ -0,0 +1,25 @@ +(define-module (tw packages finance) + #:use-module (gnu packages haskell-xyz) + #:use-module (guix build-system haskell) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public hledger-dashboard + (package + (name "hledger-dashboard") + (version "1.0.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://lud.wg/~timo/hledger-dashboard.git") + (commit version))) + (sha256 (base32 "00pazck04av1sy4fqjvjvr3hx1z54b1zs78q9y92psfmbiwilxvv")))) + (build-system haskell-build-system) + (inputs (list ghc-postgresql-simple ghc-fsnotify ghc-hledger-lib)) + (home-page #f) + (synopsis "Feed hledger data into a database") + (description "Maintain a database containing financial data extracted from +hledger, for use in Grafana, e.g. to create nice graphs.") + (license license:gpl3+))) |