all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51194] [PATCH] gnu: Add ta-lib
@ 2021-10-13 22:50 Foo Chuan Wei
  2021-10-18  8:56 ` bug#51194: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2021-10-13 22:50 UTC (permalink / raw)
  To: 51194

* gnu/packages/finance.scm (ta-lib): New variable.
---
 gnu/packages/finance.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51194: [PATCH] gnu: Add ta-lib
  2021-10-13 22:50 [bug#51194] [PATCH] gnu: Add ta-lib Foo Chuan Wei
@ 2021-10-18  8:56 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-10-18  8:56 UTC (permalink / raw)
  To: Foo Chuan Wei; +Cc: 51194-done

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

I added a copyright line for you, disabled compiling the static library
and pushed the patch as 84759b7c20fa4ee7e8004f2fc0ddec694cf9aedd.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-18  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 22:50 [bug#51194] [PATCH] gnu: Add ta-lib Foo Chuan Wei
2021-10-18  8:56 ` bug#51194: " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.