unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52706] [PATCH] gnu: Add quantlib.
@ 2021-12-21 15:20 Foo Chuan Wei
  2021-12-23 18:40 ` bug#52706: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Foo Chuan Wei @ 2021-12-21 15:20 UTC (permalink / raw)
  To: 52706

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

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 3c162ff86f..7b50ee9189 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1821,6 +1821,32 @@ local, single-user UI, or as a multi-user UI for viewing, adding, and
 editing on the Web.")
     (license license:gpl3)))
 
+(define-public quantlib
+  (package
+    (name "quantlib")
+    (version "1.24")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/lballabio/QuantLib/releases/download/QuantLib-v"
+             version "/QuantLib-" version ".tar.gz"))
+       (sha256
+        (base32 "1rxjhkc32a8z0g5gmh0iw5nx0fr31cjsrfgq7c8g6nib003kgnnx"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "--disable-static"
+             (string-append "--prefix=" (assoc-ref %outputs "out")))))
+    (inputs (list boost))
+    (home-page "https://www.quantlib.org")
+    (synopsis "Library for quantitative finance")
+    (description
+     "The QuantLib project is aimed at providing a comprehensive software
+framework for quantitative finance.  QuantLib is a free/open-source library for
+modeling, trading, and risk management in real-life.")
+    (license license:bsd-2)))
+
 (define-public optionmatrix
   (package
     (name "optionmatrix")

base-commit: 3b3bef3e4e3a8f38e8686262cd12e1786a9ac2b0
-- 
2.25.1





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

* bug#52706: [PATCH] gnu: Add quantlib.
  2021-12-21 15:20 [bug#52706] [PATCH] gnu: Add quantlib Foo Chuan Wei
@ 2021-12-23 18:40 ` Mathieu Othacehe
  2021-12-24  4:55   ` [bug#52706] (no subject) Foo Chuan Wei
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2021-12-23 18:40 UTC (permalink / raw)
  To: 52706-done


Hello,

> +             (string-append "--prefix=" (assoc-ref %outputs "out")))))

Turned it into a gexp and pushed.

Thanks,

Mathieu




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

* [bug#52706] (no subject)
  2021-12-23 18:40 ` bug#52706: " Mathieu Othacehe
@ 2021-12-24  4:55   ` Foo Chuan Wei
  0 siblings, 0 replies; 3+ messages in thread
From: Foo Chuan Wei @ 2021-12-24  4:55 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 52706

I wonder why the 'check' phase for i686-linux is failing.
https://ci.guix.gnu.org/build/246303/details




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

end of thread, other threads:[~2021-12-24  4:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 15:20 [bug#52706] [PATCH] gnu: Add quantlib Foo Chuan Wei
2021-12-23 18:40 ` bug#52706: " Mathieu Othacehe
2021-12-24  4:55   ` [bug#52706] (no subject) Foo Chuan Wei

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).