diff options
author | Kei Kebreau <kkebreau@posteo.net> | 2020-01-04 22:49:24 -0500 |
---|---|---|
committer | Kei Kebreau <kkebreau@posteo.net> | 2020-01-17 15:19:14 -0500 |
commit | 952fe2da0c1c2029076855bbbf7934360fc82b3a (patch) | |
tree | 0c60988f72754624463869b480d47ba619da56bc | |
parent | 63ca1a89086574c52eeab8f223687e8614e33ffe (diff) | |
download | guix-952fe2da0c1c2029076855bbbf7934360fc82b3a.tar.gz |
gnu: Add libofx.
* gnu/packages/finance.scm (libofx): New variable.
-rw-r--r-- | gnu/packages/finance.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 466e91c142..616eac3123 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -70,9 +71,11 @@ #:use-module (gnu packages libunwind) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) + #:use-module (gnu packages man) #:use-module (gnu packages multiprecision) #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) @@ -1206,6 +1209,49 @@ fees that BTC. Bitcoin ABC is the reference implementation of the Bitcoin Cash protocol. This package provides the Bitcoin Cash command line client and a client based on Qt. This is a fork of Bitcoin Core."))) +(define-public libofx + (package + (name "libofx") + (version "0.9.15") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libofx/libofx") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + (list (string-append "--with-opensp-includes=" + (assoc-ref %build-inputs "opensp") + "/include/OpenSP")))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gengetopt" ,gengetopt) + ("help2man" ,help2man) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("curl" ,curl) + ("libxml++-2" ,libxml++-2) + ("opensp" ,opensp))) + (home-page "http://libofx.sourceforge.net/") + (synopsis "Library supporting the Open Financial Exchange format") + (description + "The LibOFX library is a API designed to allow applications to very easily +support OFX command responses, usually provided by financial institutions. The +following three utilities are included with the library: +@enumerate +@item @code{ofxdump} +@item @code{ofx2qif} +@item @code{ofxconnect} +@end enumerate") + (license license:gpl2+))) + (define-public opensp (package (name "opensp") |