From: Vinicius Monego <monego@posteo.net>
To: 51326@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51326] [PATCH 2/2] gnu: Add ginac.
Date: Fri, 22 Oct 2021 03:08:10 +0000 [thread overview]
Message-ID: <20211022030810.415328-2-monego@posteo.net> (raw)
In-Reply-To: <20211022030810.415328-1-monego@posteo.net>
* 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 <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
-;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;;
;;; 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
next prev parent reply other threads:[~2021-10-22 3:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 3:06 [bug#51326] [PATCH 0/2] Add GiNaC (computer algebra library) Vinicius Monego
2021-10-22 3:08 ` [bug#51326] [PATCH 1/2] gnu: Add cln Vinicius Monego
2021-10-22 3:08 ` Vinicius Monego [this message]
2021-10-28 18:58 ` bug#51326: [PATCH 0/2] Add GiNaC (computer algebra library) Ludovic Courtès
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=20211022030810.415328-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=51326@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).