unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 52706@debbugs.gnu.org
Subject: [bug#52706] [PATCH] gnu: Add quantlib.
Date: Tue, 21 Dec 2021 15:20:28 +0000	[thread overview]
Message-ID: <PU1PR01MB21556EBD446A4FE051017BB98D7C9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)

* 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





             reply	other threads:[~2021-12-21 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 15:20 Foo Chuan Wei [this message]
2021-12-23 18:40 ` bug#52706: [PATCH] gnu: Add quantlib Mathieu Othacehe
2021-12-24  4:55   ` [bug#52706] (no subject) Foo Chuan Wei

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=PU1PR01MB21556EBD446A4FE051017BB98D7C9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
    --to=chuanwei.foo@hotmail.com \
    --cc=52706@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).