summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2016-04-05 18:48:02 +0200
committerAndreas Enge <andreas@enge.fr>2016-04-05 18:48:02 +0200
commitb146763a86812edc3de654403f70b8e699f2d090 (patch)
tree329d4da6c11e429dcdb6179211ba106cee73ec0c /gnu
parent14e6520e2b9c47e7466be3cb5b3442ee9e6ceca2 (diff)
gnu: Add 4ti2.
* gnu/packages/maths.scm (4ti2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maths.scm29
1 files changed, 28 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d6b371ee817..1d879713acf 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr> 2;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
3;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> 3;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
4;;; Copyright © 2014 John Darrington <jmd@gnu.org> 4;;; Copyright © 2014 John Darrington <jmd@gnu.org>
5;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org> 5;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org>
@@ -200,6 +200,33 @@ translator for the language. In addition to the C library, a stand-alone
200LP/MIP solver is included in the package.") 200LP/MIP solver is included in the package.")
201 (license license:gpl3+))) 201 (license license:gpl3+)))
202 202
203(define-public 4ti2
204 (package
205 (name "4ti2")
206 (version "1.6.7")
207 (source
208 (origin
209 (method url-fetch)
210 (uri (string-append "http://www.4ti2.de/version_" version
211 "/4ti2-" version ".tar.gz"))
212 (sha256
213 (base32
214 "1frix3rnm9ffr93alqzw4cavxbfpf524l8rfbmcpyhwd3n1km0yl"))))
215 (build-system gnu-build-system)
216 (native-inputs
217 `(("which" ,(@ (gnu packages base) which)))) ; for the tests
218 (inputs
219 `(("glpk" ,glpk)
220 ("gmp" ,gmp)))
221 (home-page "http://www.4ti2.de/")
222 (synopsis "Mathematical tool suite for problems on linear spaces")
223 (description
224 "4ti2 implements algorithms for solving algebraic, geometric and
225combinatorial problems on linear spaces. Among others, it solves systems
226of linear equations, computes extreme rays of polyhedral cones, solves
227integer programming problems and computes Markov bases for statistics.")
228 (license license:gpl2+)))
229
203(define-public arpack-ng 230(define-public arpack-ng
204 (package 231 (package
205 (name "arpack-ng") 232 (name "arpack-ng")