2006-12-13 22:29:40 +00:00
|
|
|
{stdenv, fetchurl, m4}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-12-14 16:35:31 +00:00
|
|
|
name = "gmp-4.2.2";
|
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
src = fetchurl {
|
2007-12-14 16:35:31 +00:00
|
|
|
url = mirror://gnu/gmp/gmp-4.2.2.tar.bz2;
|
|
|
|
sha256 = "0yv593sk62ypn21gg2x570g955lmsi4i6f2bc3s43p52myn0lb1b";
|
2006-12-13 22:29:40 +00:00
|
|
|
};
|
2007-12-14 16:35:31 +00:00
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
buildInputs = [m4];
|
2007-12-14 16:35:31 +00:00
|
|
|
|
2006-12-13 22:29:40 +00:00
|
|
|
doCheck = true;
|
2007-12-14 16:35:31 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
2006-12-13 22:29:40 +00:00
|
|
|
}
|