diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/algebra.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index a7455feb88f..bbb708f7495 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm | |||
| @@ -22,11 +22,15 @@ | |||
| 22 | #:use-module (gnu packages) | 22 | #:use-module (gnu packages) |
| 23 | #:use-module (gnu packages autotools) | 23 | #:use-module (gnu packages autotools) |
| 24 | #:use-module (gnu packages compression) | 24 | #:use-module (gnu packages compression) |
| 25 | #:use-module (gnu packages doxygen) | ||
| 26 | #:use-module (gnu packages graphviz) | ||
| 25 | #:use-module (gnu packages multiprecision) | 27 | #:use-module (gnu packages multiprecision) |
| 28 | #:use-module (gnu packages maths) | ||
| 26 | #:use-module (gnu packages mpi) | 29 | #:use-module (gnu packages mpi) |
| 27 | #:use-module (gnu packages perl) | 30 | #:use-module (gnu packages perl) |
| 28 | #:use-module (gnu packages readline) | 31 | #:use-module (gnu packages readline) |
| 29 | #:use-module (gnu packages flex) | 32 | #:use-module (gnu packages flex) |
| 33 | #:use-module (gnu packages python) | ||
| 30 | #:use-module (gnu packages texlive) | 34 | #:use-module (gnu packages texlive) |
| 31 | #:use-module (gnu packages xorg) | 35 | #:use-module (gnu packages xorg) |
| 32 | #:use-module ((guix licenses) #:prefix license:) | 36 | #:use-module ((guix licenses) #:prefix license:) |
| @@ -322,6 +326,46 @@ matrices, and polynomials over the integers and over finite fields.") | |||
| 322 | (license license:gpl2+) | 326 | (license license:gpl2+) |
| 323 | (home-page "http://shoup.net/ntl/"))) | 327 | (home-page "http://shoup.net/ntl/"))) |
| 324 | 328 | ||
| 329 | (define-public singular | ||
| 330 | (package | ||
| 331 | (name "singular") | ||
| 332 | (version "4.0.3") | ||
| 333 | (source (origin | ||
| 334 | (method url-fetch) | ||
| 335 | (uri (string-append "http://www.mathematik.uni-kl.de/ftp/pub/" | ||
| 336 | "Math/Singular/SOURCES/" | ||
| 337 | (string-join (string-split version #\.) "-") | ||
| 338 | "/singular-" version ".tar.gz")) | ||
| 339 | (sha256 (base32 | ||
| 340 | "0lc76137072yyizdbmrjwan3gcgfsvp7p6hkvyn8a15la0qqkgg2")))) | ||
| 341 | (build-system gnu-build-system) | ||
| 342 | (native-inputs | ||
| 343 | `(("doxygen" ,doxygen) | ||
| 344 | ("graphviz" ,graphviz) | ||
| 345 | ("perl" ,perl))) | ||
| 346 | (inputs | ||
| 347 | `(("cddlib" ,cddlib) | ||
| 348 | ("gmp" ,gmp) | ||
| 349 | ("flint" ,flint) | ||
| 350 | ("mpfr" ,mpfr) | ||
| 351 | ("ntl" ,ntl) | ||
| 352 | ("python" ,python-2) | ||
| 353 | ("readline" ,readline))) | ||
| 354 | (arguments | ||
| 355 | `(#:configure-flags | ||
| 356 | (list (string-append "--with-ntl=" | ||
| 357 | (assoc-ref %build-inputs "ntl"))))) | ||
| 358 | (synopsis "Computer algebra system for polynomial computations") | ||
| 359 | (description | ||
| 360 | "Singular is a computer algebra system for polynomial computations, | ||
| 361 | with special emphasis on commutative and non-commutative algebra, algebraic | ||
| 362 | geometry and singularity theory.") | ||
| 363 | ;; Singular itself is dual licensed gpl2 or gpl3, but some of the | ||
| 364 | ;; libraries with which it links are licensed under lgpl3+, so the | ||
| 365 | ;; combined work becomes gpl3. See COPYING in the source code. | ||
| 366 | (license license:gpl3) | ||
| 367 | (home-page "http://www.singular.uni-kl.de/index.php"))) | ||
| 368 | |||
| 325 | (define-public bc | 369 | (define-public bc |
| 326 | (package | 370 | (package |
| 327 | (name "bc") | 371 | (name "bc") |
