From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +HC3JZArcmGVrwAAgWs5BA (envelope-from ) for ; Fri, 22 Oct 2021 05:10:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uARKIZArcmGoEQAAbx9fmQ (envelope-from ) for ; Fri, 22 Oct 2021 03:10:08 +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 99FC5A9DE for ; Fri, 22 Oct 2021 05:10:07 +0200 (CEST) Received: from localhost ([::1]:55836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdkwY-0002lp-QC for larch@yhetil.org; Thu, 21 Oct 2021 23:10:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdkwV-0002lZ-11 for guix-patches@gnu.org; Thu, 21 Oct 2021 23:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdkwU-0001AH-PD for guix-patches@gnu.org; Thu, 21 Oct 2021 23:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdkwU-0004AL-IC for guix-patches@gnu.org; Thu, 21 Oct 2021 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51326] [PATCH 2/2] gnu: Add ginac. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Oct 2021 03:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51326 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51326@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51326-submit@debbugs.gnu.org id=B51326.163487217215946 (code B ref 51326); Fri, 22 Oct 2021 03:10:02 +0000 Received: (at 51326) by debbugs.gnu.org; 22 Oct 2021 03:09:32 +0000 Received: from localhost ([127.0.0.1]:59006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdkvw-000494-Gk for submit@debbugs.gnu.org; Thu, 21 Oct 2021 23:09:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdkvu-00048p-Aq for 51326@debbugs.gnu.org; Thu, 21 Oct 2021 23:09:27 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C53A9240026 for <51326@debbugs.gnu.org>; Fri, 22 Oct 2021 05:09:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634872160; bh=IMtyxjoA1GhuVYN7CcsstHUisWIPhY0nSOahzmCp85M=; h=From:To:Cc:Subject:Date:From; b=Y7+OjoGIr3SHKVJSns5lsGi/0AcQh4ul/HZfUqjiQHnSko1+dSdkPVQhpccz7S6qA jb8uiCmCfUiW4JopIXDGc6m7uAD2jR0e2MJqyydbsZZp5Q1B/CHgdTe03HaCbih/zB vBX9rHap1Qg2ERHkf0/8gLXGSPDQ2lTVmWhc7QTdWIiS1lczsBfkJTpdVC9CKiIhUe +GxflJ7R1SCGL4nXrqr1Ntwk5Ljxv9sSlsQD4OLo1KaGWK2Xf7AWKQJctFbuCuDqsA Gp5YvE89VZ2UhQSoaJX7Snxj5acxKHhyAESU7hB2Tm7sQryli9RwaWuPTjL7PTZRXP dSZ/xfRb6vJMQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hb8TC5vZJz9rxN; Fri, 22 Oct 2021 05:09:19 +0200 (CEST) From: Vinicius Monego Date: Fri, 22 Oct 2021 03:08:10 +0000 Message-Id: <20211022030810.415328-2-monego@posteo.net> In-Reply-To: <20211022030810.415328-1-monego@posteo.net> References: <20211022030810.415328-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634872207; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FMcx3U3kTNTKTZKuHH+UCkobBCuR28+nraH7RWIGIzI=; b=qBimQdTY8n/5G9X3P8SD2CHvwopqlw3VKyLMnZkvFE2Oo0oy4X/w7+ifU/mCwFKCp/2Zu7 kf9xEry4bpptH/o2leu8jUkhr9mU0oei2Exp0GKJ25jbxhfSQy/l4XRGCqjmyf2dSSEkvL 9U6MEEE00YlSZ2pIqPR3SghdqLIlDNSyJ7XcYV+gohrHZNdnFs82kpf/nhnaBu3SfuQ7az O5SWCFRhXPeDQUikKs6eDU6+rr0+B/UfWN7RDSAcCeiaoyCnY6aEk+301Bs3fjV6AsWext EgjlRb3/N6SdRj3pI5Zj877lwo8pt3UdKJUy2pa1cyu31dPYPOhmlUDnUQ6log== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634872207; a=rsa-sha256; cv=none; b=oishtBBB4CAqvGteyWanO6NFOstxTYsUaNhNLicNDdC5ykckMEPkgCRITShR8aVFszPEy/ jDxCbDODtP1CKTKhLDKB/0gjMLj/kKNdt6E5M2lff6EvelInDTcD6uXbxapqhBWB9KQsec x4jhk7viQcx3E3adCj4AqAanoT9Rq+AjkrP+Njmb3Fc2+/4IAPQ+kN8lS0X2P9MyoBiJqy mmPTksiPBmL/WXtvnbnQyic2I8oO0hissMEtIQULSDKpuArfVQnouwXR05boPjaflGmaj/ 0Pvz0EP3GiM0srqfxP/mrGQn3kyte0lRuHPAOCfQXT7lDtReSmJS+P26vaXB/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Y7+OjoGI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Y7+OjoGI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 99FC5A9DE X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4HRfrnCtulDN * gnu/packages/algebra.scm (ginac): New variable. --- gnu/packages/algebra.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 3c21a1b556..58873c7a60 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Vincent Legoll -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; Copyright © 2021 Lars-Dominik Braun ;;; ;;; This file is part of GNU Guix. @@ -986,6 +986,36 @@ Optional thin wrappers allow usage of the library from other languages.") (license (list license:expat ;SymEngine license:bsd-3)))) ;3rd party code +(define-public ginac + (package + (name "ginac") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.ginac.de/ginac-" + version ".tar.bz2")) + (sha256 + (base32 "1az1ypfcny4jdz0mic1kywwa9nynr547cl5s7zpn2w0qdfymssgi")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list "--disable-static"))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) ; Python is required + (inputs + `(("cln" ,cln) + ("readline" ,readline))) + (home-page "https://www.ginac.de/") + (synopsis "Library for symbolic computation") + (description "GiNaC is a C++ library for symbolic computation. Contrary +to other CAS it does not try to provide extensive algebraic capabilities and a +simple programming language but instead accepts a given language (C++) and +extends it by a set of algebraic capabilities.") + (license license:gpl2+))) + (define-public eigen (package (name "eigen") -- 2.30.2