summary refs log tree commit diff
path: root/pkgs/applications/science/math/R
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-05-23 11:35:54 +0200
committerPeter Simons <simons@cryp.to>2013-05-23 11:35:59 +0200
commit5779dfc8e443e9f1017561d68ab8150502f2472a (patch)
treee8c04a98d3fe3b9b94efe3a6ec5b36de86739535 /pkgs/applications/science/math/R
parent229661eed38a95f2f29095b1f8837d5731d6752c (diff)
downloadnixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar.gz
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar.bz2
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar.lz
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar.xz
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.tar.zst
nixlib-5779dfc8e443e9f1017561d68ab8150502f2472a.zip
R: add version 3.0.1
Diffstat (limited to 'pkgs/applications/science/math/R')
-rw-r--r--pkgs/applications/science/math/R/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix
new file mode 100644
index 000000000000..5ceefb87af00
--- /dev/null
+++ b/pkgs/applications/science/math/R/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, blas, bzip2, gfortran, liblapack, libX11, libXmu, libXt
+, libjpeg, libpng, libtiff, ncurses, pango, pcre, perl, readline, tcl
+, texLive, tk, xz, zlib, less, texinfo, graphviz
+}:
+
+stdenv.mkDerivation rec {
+  name = "R-3.0.1";
+
+  src = fetchurl {
+    url = "http://ftp5.gwdg.de/pub/misc/cran/src/base/R-3/${name}.tar.gz";
+    sha256 = "0d3iv382bsyz6ad5fk382x7sy3qzgpqvd0fw26r0648lyf54i45g";
+  };
+
+  buildInputs = [ blas bzip2 gfortran liblapack libX11 libXmu libXt
+    libXt libjpeg libpng libtiff ncurses pango pcre perl readline tcl
+    texLive tk xz zlib less texinfo graphviz ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    description = "a free software environment for statistical computing and graphics";
+    homepage = "http://www.r-project.org/";
+    license = stdenv.lib.licenses.gpl2Plus;
+
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = [ stdenv.lib.maintainers.simons ];
+  };
+}