3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gmp/default.nix
Eelco Dolstra ca0464c067 * gmp 4.3.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19535
2010-01-19 11:23:42 +00:00

25 lines
622 B
Nix

{stdenv, fetchurl, m4, cxx ? true}:
stdenv.mkDerivation rec {
name = "gmp-4.3.2";
src = fetchurl {
url = "mirror://gnu/gmp/${name}.tar.bz2";
sha256 = "0x8prpqi9amfcmi7r4zrza609ai9529pjaq0h4aw51i867064qck";
};
buildNativeInputs = [m4];
preConfigure = "ln -sf configfsf.guess config.guess";
configureFlags = if cxx then "--enable-cxx" else "--disable-cxx";
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";
};
}