diff options
author | Vinicius Monego <monego@posteo.net> | 2025-03-15 11:50:22 -0300 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2025-03-26 19:34:43 -0300 |
commit | d26d95c5f2c88901dc5a3c37c9cda040452a24a7 (patch) | |
tree | abd12836b7cea4ea71e26a90b934a26310902185 | |
parent | cfdd0f58d0f85127c166f0908aa7b85c7cb9cc74 (diff) | |
download | guix-d26d95c5f2c88901dc5a3c37c9cda040452a24a7.tar.gz guix-d26d95c5f2c88901dc5a3c37c9cda040452a24a7.zip |
gnu: ta-lib: Update to 0.6.4.
* gnu/packages/finance.scm (ta-lib): Update to 0.6.4.
[source]: Fetch from new official home on GitHub.
[arguments]: Use Gexp. Add #:tests?. Remove #:parallel-build. Delete the
'link-math-library phase.
[native-inputs]: Add autoconf-2.71, automake, libtool.
Change-Id: I2853ba504a406a0d5d399449ce0345078e7499e5
-rw-r--r-- | gnu/packages/finance.scm | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index bb1234ebd9..37c1034ac8 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> ;;; Copyright © 2020 Tom Zander <tomz@freedommail.ch> ;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org> -;;; Copyright © 2020, 2021, 2022, 2024 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2020, 2021, 2022, 2024, 2025 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com> ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ <ZmnSCPxj@protonmail.com> @@ -2255,32 +2255,21 @@ providing common functions for the technical analysis of financial market data." (define-public ta-lib (package (name "ta-lib") - (version "0.4.0") + (version "0.6.4") (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/ta-lib/ta-lib/" - version "/ta-lib-" version "-src.tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/TA-Lib/ta-lib") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0lf69nna0aahwpgd9m9yjzbv2fbfn081djfznssa84f0n7y1xx4z")))) + (base32 "012sp7s1fxp6lnh3am0r6r46ya9jwnarkvlvq21w2nndqd4n4d39")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'link-math-library - (lambda _ - (substitute* "src/Makefile.am" - (("ta_common/libta_common.la") - "ta_common/libta_common.la -lm")) - (substitute* "src/Makefile.in" - (("\\$\\(libta_lib_la_LDFLAGS\\) \\$\\(LDFLAGS\\) -o \\$@") - "$(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@"))))) - ;; 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 - #:configure-flags '("--disable-static"))) + (list #:tests? #f ; no tests + #:configure-flags #~(list "--disable-static"))) + (native-inputs (list autoconf-2.71 automake libtool)) (home-page "https://ta-lib.org") (synopsis "Technical analysis library") (description |