diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-07-21 19:17:53 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-07-21 19:17:53 +0200 |
commit | 202851dd8db8a654f0779d185a3aadd84cbe7335 (patch) | |
tree | 941f846ef3df8d1f722668eff1e6364ac96e1716 /distro | |
parent | 040d1b2c4a5b680685b9c8328e2f26d05bcac9d0 (diff) | |
download | guix-202851dd8db8a654f0779d185a3aadd84cbe7335.tar.gz guix-202851dd8db8a654f0779d185a3aadd84cbe7335.zip |
distro: Add GNU MPC.
* distro/base.scm (mpc): New variable.
Diffstat (limited to 'distro')
-rw-r--r-- | distro/base.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm index 78b8cdb7b6..68aad4fc48 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -224,6 +224,29 @@ double-precision floating-point arithmetic (53-bit mantissa).") (license "LGPLv3+") (home-page "http://www.mpfr.org/"))) +(define-public mpc + (package + (name "mpc") + (version "0.9") + (source (origin + (method http-fetch) + (uri (string-append + "http://www.multiprecision.org/mpc/download/mpc-" + version ".tar.gz")) + (sha256 (base32 + "1b29n3gd9awla1645nmyy8dkhbhs1p0g504y0n94ai8d5x1gwgpx")))) + (build-system gnu-build-system) + (inputs `(("gmp" ,gmp) + ("mpfr" ,mpfr))) + (description "GNU MPC, a library for multiprecision complex arithmetic +with exact rounding") + (long-description + "GNU MPC is a C library for the arithmetic of complex numbers with +arbitrarily high precision and correct rounding of the result. It is built +upon and follows the same principles as GNU MPFR.") + (license "LGPLv3+") + (home-page "http://mpc.multiprecision.org/"))) + (define-public ncurses (let ((post-install-phase '(lambda* (#:key outputs #:allow-other-keys) |