mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
Support for R-language (statistical)
svn path=/nixpkgs/trunk/; revision=11769
This commit is contained in:
parent
99ae50d128
commit
4609c9dae9
18
pkgs/development/interpreters/r-lang/default.nix
Normal file
18
pkgs/development/interpreters/r-lang/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{stdenv, fetchurl, readline, perl, g77_42, 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 g77_42 libpng libX11 libXt zlib];
|
||||
|
||||
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/;
|
||||
};
|
||||
}
|
@ -1833,6 +1833,11 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv readline ncurses zlib lib openssl;
|
||||
};
|
||||
|
||||
rLang = import ../development/interpreters/r-lang {
|
||||
inherit fetchurl stdenv readline perl g77_42 libpng zlib;
|
||||
inherit (xorg) libX11 libXt;
|
||||
};
|
||||
|
||||
rubygemsFun = builderDefsPackage (import ../development/interpreters/ruby/gems.nix) {
|
||||
inherit ruby makeWrapper;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user