diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-07-21 17:20:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-07-21 17:20:38 +0200 |
commit | 040d1b2c4a5b680685b9c8328e2f26d05bcac9d0 (patch) | |
tree | 591732e6ceb8cb71296887448914dd7ec8f3454c /distro/base.scm | |
parent | 38701758dadc72bbf256946e1048c6c124f69716 (diff) | |
download | patches-040d1b2c4a5b680685b9c8328e2f26d05bcac9d0.tar patches-040d1b2c4a5b680685b9c8328e2f26d05bcac9d0.tar.gz |
distro: Add GNU MPFR.
* distro/base.scm (mpfr): New variable.
Diffstat (limited to 'distro/base.scm')
-rw-r--r-- | distro/base.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm index 853ceee33e..78b8cdb7b6 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -198,6 +198,32 @@ faster algorithms.") (license "LGPLv3+") (home-page "http://gmplib.org/"))) +(define-public mpfr + (package + (name "mpfr") + (version "3.1.1") + (source (origin + (method http-fetch) + (uri (string-append "http://ftp.gnu.org/gnu/mpfr/mpfr-" version + ".tar.xz")) + (sha256 (base32 + "0ym1ylcq803n52qrggxqmkz66gbn8ncc3ybawal31v5y5p1srma9")))) + (build-system gnu-build-system) + (inputs `(("gmp" ,gmp))) + (description "GNU MPFR, a library for multiple-precision floating-point +arithmetic") + (long-description + "The GNU MPFR library is a C library for multiple-precision +floating-point computations with correct rounding. MPFR is based on the GMP +multiple-precision library. + +The main goal of MPFR is to provide a library for multiple-precision +floating-point computation which is both efficient and has a well-defined +semantics. It copies the good ideas from the ANSI/IEEE-754 standard for +double-precision floating-point arithmetic (53-bit mantissa).") + (license "LGPLv3+") + (home-page "http://www.mpfr.org/"))) + (define-public ncurses (let ((post-install-phase '(lambda* (#:key outputs #:allow-other-keys) |