73d2e4f49d
- Kernel headers 2.6.18 added (XEN virtual images) - unifdef package added for kernel headers 2.6.18 - Python Zope and 4suite added - Trying bioconductor packages with R-lang (still failing) - Bumped gmp version - Added rq cluster runner - still requires extra gems (installs, but does not run) svn path=/nixpkgs/trunk/; revision=12766
22 lines
650 B
Nix
22 lines
650 B
Nix
{stdenv, fetchurl, m4, cxx ? true }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gmp-4.2.3";
|
|
|
|
src = fetchurl {
|
|
url = mirror://gnu/gmp/gmp-4.2.3.tar.bz2;
|
|
sha256 = "139b5abc49833832184c0a03ff6fc64c59ef102b420d2a5884ad78af5647414b";
|
|
};
|
|
|
|
buildInputs = [m4 stdenv.gcc.libc ];
|
|
configureFlags = if cxx then "--enable-cxx" else "--disable-cxx";
|
|
doCheck = true;
|
|
postBuild = "make check"; # Test the compiler for being correct
|
|
|
|
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";
|
|
};
|
|
}
|