gnu: Add muparser.

* gnu/packages/maths.scm (muparser): New variable.
This commit is contained in:
Ricardo Wurmus 2015-03-04 09:16:57 +01:00
parent d9d9d4861c
commit 279663efa5

View file

@ -29,6 +29,7 @@ (define-module (gnu packages maths)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix svn-download)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
@ -965,6 +966,31 @@ (define-public maxima
;; GPLv2 only is therefore the smallest subset.
(license license:gpl2)))
(define-public muparser
(package
(name "muparser")
(version "2.2.5")
(source
(origin
(method svn-fetch)
(uri (svn-reference
(url "http://muparser.googlecode.com/svn/trunk/")
(revision 34)))
(sha256
(base32
"1d6bdbhx9zj3srwj3m7c9hvr18gnx1fx43h6d25my7q85gicpcwn"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--enable-samples=no")
#:tests? #f)) ;no "check" target
(home-page "http://muparser.beltoforion.de/")
(synopsis "Fast parser library for mathematical expressions")
(description
"muParser is an extensible high performance math parser library. It is
based on transforming an expression into a bytecode and precalculating
constant parts of it.")
(license license:expat)))
(define-public atlas
(package
(name "atlas")