From 53a6d71842824c20a3800f2a925fcf7df3d8524e Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 26 Oct 2007 03:01:44 +0000 Subject: [PATCH] Added MPFR; will be needed for gfortran, that doesn't work for now. svn path=/nixpkgs/trunk/; revision=9526 --- pkgs/development/libraries/mpfr/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/mpfr/default.nix diff --git a/pkgs/development/libraries/mpfr/default.nix b/pkgs/development/libraries/mpfr/default.nix new file mode 100644 index 00000000000..c083238cca0 --- /dev/null +++ b/pkgs/development/libraries/mpfr/default.nix @@ -0,0 +1,18 @@ +args: with args; +stdenv.mkDerivation { + name = "mpfr-2.3.0"; + + src = + fetchurl { + url = http://www.mpfr.org/mpfr-current/mpfr-2.3.0.tar.bz2; + sha256 = "0j1dgpqhw21xc0clm7785jm6k04v9zsssdydvm2z3lcj9ws0v7rm"; + }; + + buildInputs =[gmp]; + + meta = { + description = " + Multi Precision Floating arithmetic with correct Rounding. +"; + }; +}