unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51194@debbugs.gnu.org
Subject: [bug#51194] [PATCH] gnu: Add ta-lib
Date: Wed, 13 Oct 2021 22:50:36 +0000	[thread overview]
Message-ID: <PU1PR01MB2155248A73B5C3568C6578688DB79@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)

* 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





             reply	other threads:[~2021-10-13 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 22:50 Foo Chuan Wei [this message]
2021-10-18  8:56 ` bug#51194: [PATCH] gnu: Add ta-lib Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PU1PR01MB2155248A73B5C3568C6578688DB79@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
    --to=chuanwei.foo@hotmail.com \
    --cc=51194@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).