From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YEmIFBXvsmGwNgAAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 07:09:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SJ8/EBXvsmGFcgAAbx9fmQ (envelope-from ) for ; Fri, 10 Dec 2021 06:09:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CAD5CE07A for ; Fri, 10 Dec 2021 07:09:24 +0100 (CET) Received: from localhost ([::1]:54626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvZ5v-00084I-V5 for larch@yhetil.org; Fri, 10 Dec 2021 01:09:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZ5b-0007u1-OB for guix-patches@gnu.org; Fri, 10 Dec 2021 01:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvZ5b-0004Xb-E0 for guix-patches@gnu.org; Fri, 10 Dec 2021 01:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvZ5b-0001I9-9J for guix-patches@gnu.org; Fri, 10 Dec 2021 01:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52403] [PATCH] gnu: Add optionmatrix. Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Dec 2021 06:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52403 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52403@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16391165174915 (code B ref -1); Fri, 10 Dec 2021 06:09:03 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2021 06:08:37 +0000 Received: from localhost ([127.0.0.1]:45241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZ5B-0001HB-4p for submit@debbugs.gnu.org; Fri, 10 Dec 2021 01:08:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:56022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZ59-0001H4-G2 for submit@debbugs.gnu.org; Fri, 10 Dec 2021 01:08:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZ59-0007sZ-5o for guix-patches@gnu.org; Fri, 10 Dec 2021 01:08:35 -0500 Received: from mail-oln040092255069.outbound.protection.outlook.com ([40.92.255.69]:8597 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZ57-0004V9-3V for guix-patches@gnu.org; Fri, 10 Dec 2021 01:08:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PM88uiHwTM2t2DScG+7uPT7w5QXjETt3jvaxDxRjfp91jTLgD8V3ySlNJUIpwDQFLKieWObzCEOyVYmunbs06G+Klpo3ERYw8rFpuCaVh1pLGwigf3la6sZz+bo5d0RQwtKXAIwJGuzfwTUw9u+T2rVIAC5A/e25JTmbzHogNlmfBnDu5J+wYVPbF2wPYzsFa2gS4ikf/E6W8a2ZXHHtBLhCi9sHW2WWoxmmSOw2kcvbCwv24mbeOOYpUYbYQ0re50Dv9B5QqVnZWjsucHlFAxPblol4uC3QBNa3rJS5mVysfCBPw8wzETOxW0tHK1mG7YKNVC2qtKTEomdOxsUlOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JnADK3RVKnoZcRYt78d2Id4+o9z/mvPx5vMFFV7OAGY=; b=T5QEd0LHelWCaSJBY/LzANT8H5Gy15HdDwO9a1QyohhYnAwEQaMRUfvDJj0nqSklcbwr64Kj2UpyYONvRB3sNUjRAh5sagpznOeiuMi0lDMiqb6OhT2dROWzwiMZxN8xHAAfYyVpdCfyMaHm1J2C8zEGfWvFTPG3voHf/uVLIZ4tlVTuWpDBHNwa360niII+sD83tifVKwuH8n3s7gd2qR1GWhVRa8rAOh4bISNhJlPxCgRLTIQNZRZ6vGNWdVaMVCr4w59EuXR04Yf5EfoKSSpVE0cXX+citKYH1UMgx2/fFr7GPy6R52sR1XONLyjeOvFR4+rX9qQjo/y8hF0+5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnADK3RVKnoZcRYt78d2Id4+o9z/mvPx5vMFFV7OAGY=; b=LbeaCL2UdbK7JvlJg34qNGcX/WoLV6KuvHBFJJmMDxkkALN6GxzRJRVg79ADV6VsHdwsLyqCSs0bdj+6g7A50LOu227K1d4ZsyGpAvoHXqY+SMHVEYUgJ6xvOF62o1Z45gJwRvNxtitSwf2QoUVvdlJ1q0r6frotWtIo2hhuVVdzB5hMGhQ7H5ylj+KFgOn2xcWHENo9qr9eRtf6axplhEzZxc4IE4QNOTkRujRhIQMuD/1BetqIotbt3/FNnEqkZ3FH2pd5I4zltN2gdwbuV1LkUvGWxsuKyxV8tHBqt/Bk4HBoLtJ536ug0jwX9xBuSxCF2whBRifTyrgVPuo1UA== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2485.apcprd01.prod.exchangelabs.com (2603:1096:300:33::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.12; Fri, 10 Dec 2021 06:08:29 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4755.026; Fri, 10 Dec 2021 06:08:29 +0000 Date: Fri, 10 Dec 2021 06:08:26 +0000 From: Foo Chuan Wei Message-ID: Mail-Followup-To: guix-patches@gnu.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TMN: [mZPSULUyG6Aj0WCk1mumGelkCh01yalo] X-ClientProxiedBy: SG2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:3:18::22) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211210060826.iixr4up5nzc6xuv5@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.35.133) by SG2PR02CA0034.apcprd02.prod.outlook.com (2603:1096:3:18::22) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Fri, 10 Dec 2021 06:08:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a1f26777-9f35-4b02-a31c-08d9bba37c71 X-MS-TrafficTypeDiagnostic: PS2PR01MB2485:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NfRtMT1zLoAkT5OQNrX+ncWjIDztS0JmyXcTjxZ57P10Kyzf502PStutoe8ae0XkZ/xX4be+28ezl3pLPhvHoYITIo94Z+ruF4gtef3Sbkb8fZIqxiB7IAc5KMi4y1q/5DXo2iV3ii6gaZEy/zuOObIniGnx+WW/sdyuR1/37bGaUKaGU47ftmQ6m1PGiktnnoxngY0sQwrT/zd4jIcYyKlYRjxpAeYBcit65HoBBZV/A//kbqvYWF6fWDy6MS3rZC6nPkSazF2H2ebZwo0Y0xPogg8qkZiwtCt095y9Rn6xykfRD6uPpdeFSvkJW0AuM4bEKZXBIt9Lr7djWwsgkVjH05YPS+B9K0tzDFbx9gEmYaz0re3QhmTgpTvFfvnBd+rkhB+Z7Xi9IkRvZPWTzpmtdYXduHVqIvMLdYONPu7RSmN8DK1DPLzSgcqPlfJZxzof9rCjVM2lU1vLsyR3cxhCpbzDF22X+QvoRtnYlouwv7TuFRVOwsTm5uO+e5vH8jEYKS9JrfBgJrgUYjYyDYrZS2g7GJN6CLAbQP6ZkcVAfnWw+rihsLUvCysXw4gtRUiKEP0P5TH4WhTiePtFXg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6WfxowIs2OgevvqgK+fx9eDbp6DCSDn7BOfZYxR0IYYMWJWt+PTfWdXWENltXBQiHskGRxRk6Oxe0w0tAVSjTi2JL/gfhNndOZ1F2SCFzitVemHB1P2hquhJF8Xbrm2Edj8mLXCnIwG4wYCS4BR3IPEyRHRCWLVmNsjT95i6oxLKU0O718AYpkO0TWq2Ljhe3Zjv7liAI4FLUp/8GJpCD838AfeC2bkHg0i1lTCOkNl+kqt6mLE3/qjG6NUG+Z8fE+R1FnQpdMcEyPtVxFBG9Px95HL1hZlsFl5fATlNGfLlcBEitBHQyuHWFaztKUKZ/VC/IIHzHK4oks3W7vamqCMUwbE4BoS+NwujrElKc9QDBLXAI3F7c4iK2S8vnI8x2KPBhjQk8Qyce+0e3jjFYIz2ymvt27hhecnhKPmCHm5AFAl13jrMrjuoldkZpqpcYrEzWWuNg6mRSyqVzp0Cnis/T6IkGzD2e8alStb58T3MJd7sqOj7v1L0S6JQxgTSgP4vvA5ZUvb1n4RCvtmKUDPS2xoYd5+HVGPecAfKGdeSCjVnw5mqEEmasH5Sw0UT2xumMyHpfOPlVs9OFORmQYccx4SdiTnvts37D8QMjCacW5bA5qxf+DmS/pKlf7MyPJl3BI9H1SrKIlpXjYU9GD4OhB5m9BNrnfqpzq/VrKCRf4BlXc4rjwcnbsUt8dF2sn4xv3XAmjzpPq7KPskWVJ2fGNgWcguFrn1bHobJQHraCqmfRHzbtnQr86RMEIpNlM8PExw/MvCQom7UnXcJJiQw1mdgXD+VCRCtK2ke2iyJ1z8m3PKrKrIaIODqGfH+4Lh/6mYQz+QVoHKd/Mi3UaMPqTIlZrgabe8ygJx3rHqoTmV+Q4zKQvwkZJ9BbFMVookKZd2VhXTpGX3/InXKDs38y/wfwupkyZIeDddGYcV8ORkiyyJ1f+8y9esirgnn jvHzFRfoZlh3EkrhQFQctg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a1f26777-9f35-4b02-a31c-08d9bba37c71 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2021 06:08:29.4509 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2485 Received-SPF: pass client-ip=40.92.255.69; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-HK2-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639116564; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=JnADK3RVKnoZcRYt78d2Id4+o9z/mvPx5vMFFV7OAGY=; b=j+Oo5Ad2T1iP8LRO/LrFZONvFheikCz6bof+dLPo4mWb/4xQlZ+R0asy1eE/yQgTanTsAX fKJ1DANecmqjWAgqFmo5EN5KJWKzWpY3vSmZUeGqu7JbBjtw7y+RLzRxAHrg2i4ygY/Js4 QvPH/btWFP1OMBl6CXBYm1X8IE5uYrqkGdEQHPnvxZV2niGRHPZ+ZqLIUYLPyZLJsJJBl8 xJ5Egd9hHn4HzMSFVuVWWb7Mi84CmOSkbCbHYOpXwxjGCQMkRiAL9hkAnpkN3hWUEDZ2cr o05Cq1HHDXBhNhZS4dl70CpFHoTSawTCvVtgNrsr0+2CDc2xJ4E8rHmenn0CQQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1639116564; a=rsa-sha256; cv=fail; b=qJKkNWL9oEkICKoFYoI4c5T89tJQDmRpM0zslCeCRF/W/xEImmKaP8QqaNlbb7/Wa33gTq 3GL0HZp9kUqgSdBediA/hlOk0tAb3nkwOos98VLvTe8xbVBERGFaTWWP9x/FXp1jBu2AqX l/rp1a90sGOXPUQYv/++TezwpmpVF1kxuMdFQX0my7a5ACtqdz27QBgP93WO6BSpln95fT +NyXiYvUUzpj5JtZfqjks6pHC4Byri4N8o8NbHkTm7CMCBINJpCWC4uG0jLPfaPMfiOTCT oR1MXVmTOmU6Z+PhaJONXYDoNg/0Va/h8FHTUiaMkCpQkUWdfbfZW1VuIeKoUQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=LbeaCL2U; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=LbeaCL2U; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CAD5CE07A X-Spam-Score: 2.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: s1C/2WZRI+Pr * gnu/packages/finance.scm (optionmatrix): New variable. --- gnu/packages/finance.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 1f4dd25f6f..2f7f3741e0 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -90,7 +90,9 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages man) + #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) @@ -104,6 +106,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages sphinx) + #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages time) @@ -1813,6 +1816,37 @@ local, single-user UI, or as a multi-user UI for viewing, adding, and editing on the Web.") (license license:gpl3))) +(define-public optionmatrix + (package + (name "optionmatrix") + (version "1.4.3") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/optionmatrix/optionmatrix-" + version ".tar.xz")) + (sha256 + (base32 "1zd0pfiphnijh1l94swb3mjrpmjsn37z11mklamd7zw6h2d4zh4d")))) + (build-system gnu-build-system) + (inputs + `(("gsl" ,gsl) + ("gtk3" ,gtk+) + ("ncurses" ,ncurses))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("texinfo" ,texinfo) + ("texlive" ,(texlive-union (list texlive-epsf + texlive-tex-texinfo))))) + (home-page "https://anthonybradford.github.io/optionmatrix/") + (synopsis "Financial derivative calculator") + (description + "The OptionMatrix programs are financial derivative calculators. These +calculators are real-time multi-model option chain pricers with analytics and +interactive controls. This package provides a GTK+ graphical user interface +(@code{optionmatrix}) and a curses interface (@code{optionmatrix_console}).") + (license license:gpl3+))) + (define-public python-ta-lib (package (name "python-ta-lib") base-commit: e1973ae74beb2880c11593155849f43e23ef620c -- 2.25.1