mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
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
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{stdenv, fetchurl, readline, perl, gfortran, libX11, libpng, libXt, zlib,
|
|
withBioconductor ? false
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "r-lang";
|
|
version = "2.7.0";
|
|
src = fetchurl {
|
|
url = http://cran.r-project.org/src/base/R-2/R-2.7.0.tar.gz;
|
|
sha256 = "17ql1j5d9rfpxs04j9v9qyxiysc9nh6yr43lgfdamayzjpia5jqm";
|
|
};
|
|
|
|
bioconductor = if withBioconductor then import ../development/libraries/science/biology/bioconductor { inherit fetchurl stdenv readline; } else null;
|
|
|
|
buildInputs = [readline perl gfortran libpng libX11 libXt zlib];
|
|
configureFlags = ["--enable-R-shlib"] ;
|
|
|
|
meta = {
|
|
description = "R is a language and environment for statistical computing and graphics";
|
|
longDescription = ''R is a language and environment for statistical computin
|
|
g and graphics. It is a GNU project which is similar to the S language. R provid
|
|
es a wide variety of statistical (linear and nonlinear modelling, classical stat
|
|
istical tests, time-series analysis, classification, clustering, ...) and graphi
|
|
cal techniques, and is highly extensible.'';
|
|
license = "GPL2";
|
|
homepage = http://www.r-project.org/;
|
|
};
|
|
}
|
|
|
|
|