[PATCH] gnu: Add ta-lib

  • Done
  • quality assurance status badge
Details
2 participants
  • Foo Chuan Wei
  • Guillaume Le Vaillant
Owner
unassigned
Submitted by
Foo Chuan Wei
Severity
normal
F
F
Foo Chuan Wei wrote on 14 Oct 2021 00:50
(address . guix-patches@gnu.org)
PU1PR01MB2155248A73B5C3568C6578688DB79@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
* gnu/packages/finance.scm (ta-lib): New variable.
---
gnu/packages/finance.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 5e243d0452..48ff76614d 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1753,3 +1753,27 @@ Interface (UI) for the hledger accounting system. It can be used as a
local, single-user UI, or as a multi-user UI for viewing, adding, and
editing on the Web.")
(license license:gpl3)))
+
+(define-public ta-lib
+ (package
+ (name "ta-lib")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/ta-lib/ta-lib/"
+ version "/ta-lib-" version "-src.tar.gz"))
+ (sha256
+ (base32 "0lf69nna0aahwpgd9m9yjzbv2fbfn081djfznssa84f0n7y1xx4z"))))
+ (build-system gnu-build-system)
+ (arguments
+ ;; Parallel build fails with:
+ ;; mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po
+ ;; mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory
+ ;; Makefile:254: recipe for target 'gen_code-gen_code.o' failed
+ `(#:parallel-build? #f))
+ (home-page "https://ta-lib.org")
+ (synopsis "Technical analysis library")
+ (description
+ "TA-Lib is a library providing common functions for the technical
+analysis of financial market data.")
+ (license license:bsd-3)))

base-commit: 5fafb6e792c1e18ec223f0c7fb350d0c9b962a45
--
2.25.1
G
G
Guillaume Le Vaillant wrote on 18 Oct 2021 10:56
(name . Foo Chuan Wei)(address . chuanwei.foo@hotmail.com)(address . 51194-done@debbugs.gnu.org)
87ilxuwvz1.fsf@kitej
I added a copyright line for you, disabled compiling the static library
and pushed the patch as 84759b7c20fa4ee7e8004f2fc0ddec694cf9aedd.
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYW03Ig8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8uLQD/TFJ6RMRzOWOyXdhi8XeDsk/vvKDqOikI4zkL
xkXcVnAA/Ajsx0Pe4Eg8V2IqP91jhvGdSOYX8uJKSyC+CnoXQra6
=RUBp
-----END PGP SIGNATURE-----

Closed
?