From d1c3c10d95d7f92bed31c60c16823d745a1c478e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 4 Jul 2013 21:29:52 +0200 Subject: [PATCH] R: delete obsolete version 2.x from Nixpkgs --- .../interpreters/r-lang/default.nix | 37 ------------------- pkgs/top-level/all-packages.nix | 4 -- 2 files changed, 41 deletions(-) delete mode 100644 pkgs/development/interpreters/r-lang/default.nix diff --git a/pkgs/development/interpreters/r-lang/default.nix b/pkgs/development/interpreters/r-lang/default.nix deleted file mode 100644 index 432198993808..000000000000 --- a/pkgs/development/interpreters/r-lang/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ stdenv, fetchurl, readline, perl, gfortran, libX11, libpng, libXt, zlib -, withBioconductor ? false -}: - -stdenv.mkDerivation { - name = "r-lang"; - version = "2.12.0"; - src = fetchurl { - url = http://cran.r-project.org/src/base/R-2/R-2.12.0.tar.gz; - sha256 = "93d72d845b01c6cd00e58f04b5e78fd6c83de96a8620505ad2a016772af02179"; - }; - - bioconductor = if withBioconductor then import ../development/libraries/science/biology/bioconductor { inherit fetchurl stdenv readline; } else null; - - postUnpack = '' - gunzip R-2.12.0/src/library/Recommended/Matrix_0.999375-44.tar.gz - tar --file=R-2.12.0/src/library/Recommended/Matrix_0.999375-44.tar --delete Matrix/src/dummy.cpp - gzip R-2.12.0/src/library/Recommended/Matrix_0.999375-44.tar - ''; - - 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"; - license = "GPL2"; - homepage = http://www.r-project.org/; - 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. - ''; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ad6a1032d9bd..00428a2ad7b8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3154,10 +3154,6 @@ let rubySqlite3 = callPackage ../development/ruby-modules/sqlite3 { }; - rLang = callPackage ../development/interpreters/r-lang { - withBioconductor = config.rLang.withBioconductor or false; - }; - rubygemsFun = ruby: builderDefsPackage (import ../development/interpreters/ruby/rubygems.nix) { inherit ruby makeWrapper; };