From be02132b5d26c7244dd3738369a750bcec2203df Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 14 Dec 2007 16:35:31 +0000 Subject: [PATCH] * gmp 4.2.2 (needed for Mac OS X). svn path=/nixpkgs/trunk/; revision=9939 --- pkgs/development/libraries/gmp/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gmp/default.nix b/pkgs/development/libraries/gmp/default.nix index 364cb73bbb7..b8d915d1fac 100644 --- a/pkgs/development/libraries/gmp/default.nix +++ b/pkgs/development/libraries/gmp/default.nix @@ -1,11 +1,20 @@ {stdenv, fetchurl, m4}: stdenv.mkDerivation { - name = "gmp-4.2.1"; + name = "gmp-4.2.2"; + src = fetchurl { - url = mirror://gnu/gmp/gmp-4.2.1.tar.bz2; - md5 = "091c56e0e1cca6b09b17b69d47ef18e3"; + url = mirror://gnu/gmp/gmp-4.2.2.tar.bz2; + sha256 = "0yv593sk62ypn21gg2x570g955lmsi4i6f2bc3s43p52myn0lb1b"; }; + buildInputs = [m4]; + doCheck = true; + + meta = { + description = "A free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"; + homepage = http://gmplib.org/; + license = "LGPL"; + }; }