07595b0397
svn path=/nixpkgs/trunk/; revision=12535
22 lines
934 B
Nix
22 lines
934 B
Nix
{stdenv, fetchurl, readline, perl, gfortran, libX11, libpng, libXt, zlib}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "r-lang-2.7.0";
|
|
src = fetchurl {
|
|
url = http://cran.r-project.org/src/base/R-2/R-2.7.0.tar.gz;
|
|
sha256 = "17ql1j5d9rfpxs04j9v9qyxiysc9nh6yr43lgfdamayzjpia5jqm";
|
|
};
|
|
|
|
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 computing and graphics. It is a GNU project which is similar to the S language. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.'';
|
|
license = "GPL2";
|
|
homepage = http://www.r-project.org/;
|
|
};
|
|
}
|
|
|
|
|