2014-12-01 13:06:35 +00:00
|
|
|
/* This file defines the composition for CRAN (R) packages. */
|
|
|
|
|
2015-01-27 13:00:00 +00:00
|
|
|
{ R, pkgs, overrides }:
|
2014-12-01 13:06:35 +00:00
|
|
|
|
|
|
|
let
|
2015-02-19 20:49:41 +00:00
|
|
|
inherit (pkgs) fetchurl stdenv lib;
|
2014-12-01 13:06:35 +00:00
|
|
|
|
2015-02-19 20:49:41 +00:00
|
|
|
buildRPackage = pkgs.callPackage ./generic-builder.nix { inherit R; };
|
2014-12-01 13:06:35 +00:00
|
|
|
|
|
|
|
# Package template
|
|
|
|
#
|
|
|
|
# some packages, e.g. cncaGUI, require X running while installation,
|
|
|
|
# so that we use xvfb-run if requireX is true.
|
|
|
|
derive = lib.makeOverridable ({
|
|
|
|
name, version, sha256,
|
|
|
|
depends ? [],
|
|
|
|
doCheck ? true,
|
|
|
|
requireX ? false,
|
|
|
|
broken ? false,
|
|
|
|
hydraPlatforms ? R.meta.hydraPlatforms
|
|
|
|
}: buildRPackage {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"mirror://cran/src/contrib/${name}_${version}.tar.gz"
|
2015-02-18 12:20:14 +00:00
|
|
|
"mirror://cran/src/contrib/00Archive/${name}/${name}_${version}.tar.gz"
|
2014-12-01 13:06:35 +00:00
|
|
|
];
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
inherit doCheck requireX;
|
|
|
|
propagatedBuildInputs = depends;
|
|
|
|
nativeBuildInputs = depends;
|
|
|
|
meta.homepage = "http://cran.r-project.org/web/packages/${name}/";
|
2014-12-03 13:48:01 +00:00
|
|
|
meta.platforms = R.meta.platforms;
|
2014-12-01 13:06:35 +00:00
|
|
|
meta.hydraPlatforms = hydraPlatforms;
|
|
|
|
meta.broken = broken;
|
|
|
|
});
|
|
|
|
|
|
|
|
# Overrides package definitions with nativeBuildInputs.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideNativeBuildInputs {
|
|
|
|
# foo = [ pkgs.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.overrideDerivation (attrs: {
|
|
|
|
# nativeBuildInputs = attrs.nativeBuildInputs ++ [ pkgs.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideNativeBuildInputs = overrides: old:
|
2015-02-19 20:50:42 +00:00
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).overrideDerivation (attrs: {
|
|
|
|
nativeBuildInputs = attrs.nativeBuildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
2014-12-01 13:06:35 +00:00
|
|
|
|
|
|
|
# Overrides package definitions with buildInputs.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideBuildInputs {
|
|
|
|
# foo = [ pkgs.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.overrideDerivation (attrs: {
|
|
|
|
# buildInputs = attrs.buildInputs ++ [ pkgs.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideBuildInputs = overrides: old:
|
2015-02-19 20:50:42 +00:00
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).overrideDerivation (attrs: {
|
|
|
|
buildInputs = attrs.buildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
2014-12-01 13:06:35 +00:00
|
|
|
|
2015-02-19 20:51:24 +00:00
|
|
|
# Overrides package definitions with new R dependencies.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideRDepends {
|
|
|
|
# foo = [ self.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.overrideDerivation (attrs: {
|
|
|
|
# nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.bar ];
|
|
|
|
# propagatedNativeBuildInputs = attrs.propagatedNativeBuildInputs ++ [ self.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideRDepends = overrides: old:
|
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).overrideDerivation (attrs: {
|
|
|
|
nativeBuildInputs = attrs.nativeBuildInputs ++ value;
|
|
|
|
propagatedNativeBuildInputs = attrs.propagatedNativeBuildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
|
|
|
|
2014-12-01 13:06:35 +00:00
|
|
|
# Overrides package definition requiring X running to install.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideRequireX [
|
|
|
|
# "foo"
|
|
|
|
# ] old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.override {
|
|
|
|
# requireX = true;
|
|
|
|
# };
|
|
|
|
# }
|
|
|
|
overrideRequireX = packageNames: old:
|
|
|
|
let
|
|
|
|
nameValuePairs = map (name: {
|
|
|
|
inherit name;
|
|
|
|
value = (builtins.getAttr name old).override {
|
|
|
|
requireX = true;
|
|
|
|
};
|
|
|
|
}) packageNames;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs nameValuePairs;
|
|
|
|
|
|
|
|
# Overrides package definition to skip check.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideSkipCheck [
|
|
|
|
# "foo"
|
|
|
|
# ] old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.override {
|
|
|
|
# doCheck = false;
|
|
|
|
# };
|
|
|
|
# }
|
|
|
|
overrideSkipCheck = packageNames: old:
|
|
|
|
let
|
|
|
|
nameValuePairs = map (name: {
|
|
|
|
inherit name;
|
|
|
|
value = (builtins.getAttr name old).override {
|
|
|
|
doCheck = false;
|
|
|
|
};
|
|
|
|
}) packageNames;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs nameValuePairs;
|
|
|
|
|
|
|
|
# Overrides package definition to mark it broken.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideBroken [
|
|
|
|
# "foo"
|
|
|
|
# ] old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.override {
|
|
|
|
# broken = true;
|
|
|
|
# };
|
|
|
|
# }
|
|
|
|
overrideBroken = packageNames: old:
|
|
|
|
let
|
|
|
|
nameValuePairs = map (name: {
|
|
|
|
inherit name;
|
|
|
|
value = (builtins.getAttr name old).override {
|
|
|
|
broken = true;
|
|
|
|
};
|
|
|
|
}) packageNames;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs nameValuePairs;
|
|
|
|
|
|
|
|
defaultOverrides = old: new:
|
|
|
|
let old0 = old; in
|
|
|
|
let
|
|
|
|
old1 = old0 // (overrideRequireX packagesRequireingX old0);
|
|
|
|
old2 = old1 // (overrideSkipCheck packagesToSkipCheck old1);
|
2015-02-19 20:51:24 +00:00
|
|
|
old3 = old2 // (overrideRDepends packagesWithRDepends old2);
|
|
|
|
old4 = old3 // (overrideNativeBuildInputs packagesWithNativeBuildInputs old3);
|
|
|
|
old5 = old4 // (overrideBuildInputs packagesWithBuildInputs old4);
|
|
|
|
old6 = old5 // (overrideBroken brokenPackages old5);
|
|
|
|
old = old6;
|
2014-12-01 13:06:35 +00:00
|
|
|
in old // (otherOverrides old new);
|
|
|
|
|
|
|
|
# Recursive override pattern.
|
|
|
|
# `_self` is a collection of packages;
|
|
|
|
# `self` is `_self` with overridden packages;
|
|
|
|
# packages in `_self` may depends on overridden packages.
|
|
|
|
self = (defaultOverrides _self self) // overrides;
|
2014-12-03 13:15:56 +00:00
|
|
|
_self = import ./cran-packages.nix { inherit self derive; };
|
2014-12-01 13:06:35 +00:00
|
|
|
|
|
|
|
# tweaks for the individual packages and "in self" follow
|
|
|
|
|
2015-02-19 20:51:24 +00:00
|
|
|
packagesWithRDepends = {
|
2015-02-19 20:53:36 +00:00
|
|
|
FactoMineR = [ self.car ];
|
2015-02-19 20:51:24 +00:00
|
|
|
};
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
packagesWithNativeBuildInputs = {
|
2015-03-06 10:21:21 +00:00
|
|
|
abn = [ pkgs.gsl ];
|
|
|
|
adimpro = [ pkgs.imagemagick ];
|
|
|
|
audio = [ pkgs.portaudio ];
|
|
|
|
BayesSAE = [ pkgs.gsl ];
|
|
|
|
BayesVarSel = [ pkgs.gsl ];
|
|
|
|
BayesXsrc = [ pkgs.readline pkgs.ncurses ];
|
|
|
|
bigGP = [ pkgs.openmpi ];
|
|
|
|
bnpmr = [ pkgs.gsl ];
|
2015-02-19 20:53:36 +00:00
|
|
|
BNSP = [ pkgs.gsl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
cairoDevice = [ pkgs.gtk2 ];
|
|
|
|
Cairo = [ pkgs.libtiff pkgs.libjpeg pkgs.cairo ];
|
|
|
|
CARramps = [ pkgs.linuxPackages.nvidia_x11 pkgs.liblapack ];
|
|
|
|
chebpol = [ pkgs.fftw ];
|
|
|
|
cit = [ pkgs.gsl ];
|
2014-11-29 13:13:11 +00:00
|
|
|
curl = [ pkgs.curl pkgs.openldap ];
|
2015-03-06 10:21:21 +00:00
|
|
|
devEMF = [ pkgs.xlibs.libXft ];
|
|
|
|
diversitree = [ pkgs.gsl pkgs.fftw ];
|
|
|
|
EMCluster = [ pkgs.liblapack ];
|
2014-11-29 13:13:11 +00:00
|
|
|
fftw = [ pkgs.fftw ];
|
|
|
|
fftwtools = [ pkgs.fftw ];
|
2015-02-19 20:53:36 +00:00
|
|
|
Formula = [ pkgs.gmp ];
|
2015-03-06 10:21:21 +00:00
|
|
|
geoCount = [ pkgs.gsl ];
|
|
|
|
git2r = [ pkgs.zlib ];
|
|
|
|
glpkAPI = [ pkgs.gmp pkgs.glpk ];
|
|
|
|
gmp = [ pkgs.gmp ];
|
|
|
|
graphscan = [ pkgs.gsl ];
|
|
|
|
gsl = [ pkgs.gsl ];
|
2014-11-29 13:13:11 +00:00
|
|
|
HiCseg = [ pkgs.gsl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
igraph = [ pkgs.gmp ];
|
|
|
|
JavaGD = [ pkgs.jdk ];
|
|
|
|
jpeg = [ pkgs.libjpeg ];
|
2014-11-29 13:13:11 +00:00
|
|
|
KFKSDS = [ pkgs.gsl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
kza = [ pkgs.fftw ];
|
2014-11-29 13:13:11 +00:00
|
|
|
libamtrack = [ pkgs.gsl ];
|
|
|
|
mixcat = [ pkgs.gsl ];
|
|
|
|
mvabund = [ pkgs.gsl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
mwaved = [ pkgs.fftw ];
|
2014-11-29 13:13:11 +00:00
|
|
|
ncdf4 = [ pkgs.netcdf ];
|
2015-03-06 10:21:21 +00:00
|
|
|
ncdf = [ pkgs.netcdf ];
|
2014-11-29 13:13:11 +00:00
|
|
|
nloptr = [ pkgs.nlopt ];
|
|
|
|
openssl = [ pkgs.openssl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
outbreaker = [ pkgs.gsl ];
|
|
|
|
pbdMPI = [ pkgs.openmpi ];
|
|
|
|
pbdNCDF4 = [ pkgs.netcdf ];
|
|
|
|
pbdPROF = [ pkgs.openmpi ];
|
2014-11-29 13:13:11 +00:00
|
|
|
PKI = [ pkgs.openssl ];
|
2015-03-06 10:21:21 +00:00
|
|
|
png = [ pkgs.libpng ];
|
|
|
|
PopGenome = [ pkgs.zlib ];
|
2014-11-29 13:13:11 +00:00
|
|
|
proj4 = [ pkgs.proj ];
|
|
|
|
qtbase = [ pkgs.qt4 ];
|
2015-03-06 10:21:21 +00:00
|
|
|
qtpaint = [ pkgs.qt4 ];
|
|
|
|
R2GUESS = [ pkgs.gsl ];
|
|
|
|
R2SWF = [ pkgs.zlib pkgs.libpng pkgs.freetype ];
|
2015-03-19 13:14:28 +00:00
|
|
|
RAppArmor = [ pkgs.libapparmor ];
|
2014-11-29 13:13:11 +00:00
|
|
|
rbamtools = [ pkgs.zlib ];
|
2015-03-06 10:21:21 +00:00
|
|
|
RCA = [ pkgs.gmp ];
|
|
|
|
rcdd = [ pkgs.gmp ];
|
|
|
|
RcppCNPy = [ pkgs.zlib ];
|
|
|
|
RcppGSL = [ pkgs.gsl ];
|
|
|
|
RcppOctave = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.pcre pkgs.octave ];
|
|
|
|
RcppZiggurat = [ pkgs.gsl ];
|
|
|
|
rgdal = [ pkgs.proj pkgs.gdal ];
|
|
|
|
rgeos = [ pkgs.geos ];
|
|
|
|
rgl = [ pkgs.mesa pkgs.x11 ];
|
|
|
|
Rglpk = [ pkgs.glpk ];
|
2015-03-26 11:20:07 +00:00
|
|
|
rggobi = [ pkgs.ggobi pkgs.gtk2 pkgs.libxml2 ];
|
2015-03-06 10:21:21 +00:00
|
|
|
RGtk2 = [ pkgs.gtk2 ];
|
|
|
|
Rhpc = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.openmpi pkgs.pcre ];
|
|
|
|
ridge = [ pkgs.gsl ];
|
|
|
|
RJaCGH = [ pkgs.zlib ];
|
|
|
|
rjags = [ pkgs.jags ];
|
|
|
|
rJava = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.pcre pkgs.jdk pkgs.libzip ];
|
|
|
|
Rlibeemd = [ pkgs.gsl ];
|
2014-11-29 13:13:11 +00:00
|
|
|
rmatio = [ pkgs.zlib ];
|
2015-03-06 10:21:21 +00:00
|
|
|
Rmpfr = [ pkgs.gmp pkgs.mpfr ];
|
|
|
|
Rmpi = [ pkgs.openmpi ];
|
|
|
|
RMySQL = [ pkgs.zlib pkgs.mysql ];
|
|
|
|
RNetCDF = [ pkgs.netcdf pkgs.udunits ];
|
|
|
|
RODBCext = [ pkgs.libiodbc ];
|
|
|
|
RODBC = [ pkgs.libiodbc ];
|
|
|
|
rpg = [ pkgs.postgresql ];
|
2015-02-19 20:53:36 +00:00
|
|
|
rphast = [ pkgs.pcre pkgs.zlib pkgs.bzip2 pkgs.gzip pkgs.readline ];
|
2015-03-06 10:21:21 +00:00
|
|
|
Rpoppler = [ pkgs.poppler ];
|
|
|
|
RPostgreSQL = [ pkgs.postgresql ];
|
|
|
|
RProtoBuf = [ pkgs.protobuf ];
|
|
|
|
rpud = [ pkgs.linuxPackages.nvidia_x11 ];
|
|
|
|
rPython = [ pkgs.python ];
|
|
|
|
RSclient = [ pkgs.openssl ];
|
|
|
|
Rserve = [ pkgs.openssl ];
|
|
|
|
Rssa = [ pkgs.fftw ];
|
2015-02-19 20:53:36 +00:00
|
|
|
rtfbs = [ pkgs.zlib pkgs.pcre pkgs.bzip2 pkgs.gzip pkgs.readline ];
|
2015-03-06 10:21:21 +00:00
|
|
|
rtiff = [ pkgs.libtiff ];
|
|
|
|
runjags = [ pkgs.jags ];
|
|
|
|
RVowpalWabbit = [ pkgs.zlib pkgs.boost ];
|
|
|
|
rzmq = [ pkgs.zeromq3 ];
|
2014-11-29 13:13:11 +00:00
|
|
|
SAVE = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.pcre ];
|
2015-03-06 10:21:21 +00:00
|
|
|
sdcTable = [ pkgs.gmp pkgs.glpk ];
|
|
|
|
seewave = [ pkgs.fftw pkgs.libsndfile ];
|
|
|
|
SemiCompRisks = [ pkgs.gsl ];
|
|
|
|
seqinr = [ pkgs.zlib ];
|
|
|
|
seqminer = [ pkgs.zlib pkgs.bzip2 ];
|
2014-11-29 13:13:11 +00:00
|
|
|
showtext = [ pkgs.zlib pkgs.libpng pkgs.icu pkgs.freetype ];
|
2015-03-06 10:21:21 +00:00
|
|
|
simplexreg = [ pkgs.gsl ];
|
|
|
|
SOD = [ pkgs.cudatoolkit ]; # requres CL/cl.h
|
|
|
|
spate = [ pkgs.fftw ];
|
|
|
|
sprint = [ pkgs.openmpi ];
|
|
|
|
ssanv = [ pkgs.proj ];
|
|
|
|
stsm = [ pkgs.gsl ];
|
|
|
|
survSNP = [ pkgs.gsl ];
|
|
|
|
sysfonts = [ pkgs.zlib pkgs.libpng pkgs.freetype ];
|
|
|
|
TAQMNGR = [ pkgs.zlib ];
|
|
|
|
tiff = [ pkgs.libtiff ];
|
|
|
|
TKF = [ pkgs.gsl ];
|
|
|
|
tkrplot = [ pkgs.xlibs.libX11 ];
|
|
|
|
topicmodels = [ pkgs.gsl ];
|
|
|
|
udunits2 = [ pkgs.udunits pkgs.expat ];
|
|
|
|
V8 = [ pkgs.v8 ];
|
|
|
|
VBLPCM = [ pkgs.gsl ];
|
|
|
|
VBmix = [ pkgs.gsl pkgs.fftw pkgs.qt4 ];
|
|
|
|
WhopGenome = [ pkgs.zlib ];
|
2014-11-29 13:13:11 +00:00
|
|
|
XBRL = [ pkgs.zlib pkgs.libxml2 ];
|
2015-03-06 10:21:21 +00:00
|
|
|
XML = [ pkgs.libtool pkgs.libxml2 pkgs.xmlsec pkgs.libxslt ];
|
2014-11-29 13:13:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
packagesWithBuildInputs = {
|
|
|
|
# sort -t '=' -k 2
|
2015-02-19 20:53:36 +00:00
|
|
|
svKomodo = [ pkgs.which ];
|
|
|
|
nat = [ pkgs.which ];
|
|
|
|
nat_nblast = [ pkgs.which ];
|
|
|
|
nat_templatebrains = [ pkgs.which ];
|
|
|
|
RMark = [ pkgs.which ];
|
|
|
|
RPushbullet = [ pkgs.which ];
|
2014-11-29 13:13:11 +00:00
|
|
|
qtpaint = [ pkgs.cmake ];
|
|
|
|
qtbase = [ pkgs.cmake pkgs.perl ];
|
|
|
|
gmatrix = [ pkgs.cudatoolkit ];
|
|
|
|
WideLM = [ pkgs.cudatoolkit ];
|
|
|
|
RCurl = [ pkgs.curl ];
|
|
|
|
R2SWF = [ pkgs.pkgconfig ];
|
2015-03-26 11:20:07 +00:00
|
|
|
rggobi = [ pkgs.pkgconfig ];
|
2014-11-29 13:13:11 +00:00
|
|
|
RGtk2 = [ pkgs.pkgconfig ];
|
|
|
|
RProtoBuf = [ pkgs.pkgconfig ];
|
|
|
|
Rpoppler = [ pkgs.pkgconfig ];
|
|
|
|
VBmix = [ pkgs.pkgconfig ];
|
|
|
|
XML = [ pkgs.pkgconfig ];
|
|
|
|
cairoDevice = [ pkgs.pkgconfig ];
|
|
|
|
chebpol = [ pkgs.pkgconfig ];
|
|
|
|
fftw = [ pkgs.pkgconfig ];
|
|
|
|
geoCount = [ pkgs.pkgconfig ];
|
|
|
|
kza = [ pkgs.pkgconfig ];
|
|
|
|
mwaved = [ pkgs.pkgconfig ];
|
|
|
|
showtext = [ pkgs.pkgconfig ];
|
|
|
|
spate = [ pkgs.pkgconfig ];
|
|
|
|
stringi = [ pkgs.pkgconfig ];
|
|
|
|
sysfonts = [ pkgs.pkgconfig ];
|
|
|
|
Cairo = [ pkgs.pkgconfig ];
|
|
|
|
Rsymphony = [ pkgs.pkgconfig pkgs.doxygen pkgs.graphviz pkgs.subversion ];
|
|
|
|
qtutils = [ pkgs.qt4 ];
|
2015-02-19 20:53:36 +00:00
|
|
|
ecoretriever = [ pkgs.which ];
|
2014-11-29 13:13:11 +00:00
|
|
|
tcltk2 = [ pkgs.tcl pkgs.tk ];
|
2015-02-19 20:53:36 +00:00
|
|
|
tikzDevice = [ pkgs.which pkgs.texLive ];
|
2014-11-29 13:13:11 +00:00
|
|
|
rPython = [ pkgs.which ];
|
|
|
|
CARramps = [ pkgs.which pkgs.cudatoolkit ];
|
2015-02-19 20:53:36 +00:00
|
|
|
gridGraphics = [ pkgs.which ];
|
2014-11-29 13:13:11 +00:00
|
|
|
gputools = [ pkgs.which pkgs.cudatoolkit ];
|
|
|
|
rpud = [ pkgs.which pkgs.cudatoolkit ];
|
|
|
|
adimpro = [ pkgs.which pkgs.xorg.xdpyinfo ];
|
|
|
|
PET = [ pkgs.which pkgs.xorg.xdpyinfo pkgs.imagemagick ];
|
|
|
|
dti = [ pkgs.which pkgs.xorg.xdpyinfo pkgs.imagemagick ];
|
|
|
|
};
|
|
|
|
|
|
|
|
packagesRequireingX = [
|
|
|
|
"AnalyzeFMRI"
|
|
|
|
"AnnotLists"
|
|
|
|
"AnthropMMD"
|
|
|
|
"AtelieR"
|
|
|
|
"BAT"
|
|
|
|
"BCA"
|
|
|
|
"BEQI2"
|
|
|
|
"BHMSMAfMRI"
|
|
|
|
"BioGeoBEARS"
|
|
|
|
"BiodiversityR"
|
|
|
|
"CCTpack"
|
|
|
|
"CommunityCorrelogram"
|
|
|
|
"ConvergenceConcepts"
|
|
|
|
"DALY"
|
|
|
|
"DSpat"
|
|
|
|
"Deducer"
|
|
|
|
"DeducerExtras"
|
|
|
|
"DeducerPlugInExample"
|
|
|
|
"DeducerPlugInScaling"
|
|
|
|
"DeducerSpatial"
|
|
|
|
"DeducerSurvival"
|
2015-02-19 20:53:36 +00:00
|
|
|
"HomoPolymer"
|
|
|
|
"MetSizeR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"DeducerText"
|
|
|
|
"Demerelate"
|
|
|
|
"DescTools"
|
|
|
|
"DivMelt"
|
|
|
|
"ENiRG"
|
|
|
|
"EcoVirtual"
|
|
|
|
"EnQuireR"
|
|
|
|
"FAiR"
|
|
|
|
"FD"
|
|
|
|
"FFD"
|
|
|
|
"FeedbackTS"
|
|
|
|
"FreeSortR"
|
|
|
|
"GGEBiplotGUI"
|
|
|
|
"GPCSIV"
|
|
|
|
"GUniFrac"
|
|
|
|
"Geneland"
|
|
|
|
"GeoGenetix"
|
|
|
|
"GeoXp"
|
|
|
|
"GrammR"
|
|
|
|
"GrapheR"
|
|
|
|
"GroupSeq"
|
|
|
|
"HH"
|
|
|
|
"HiveR"
|
|
|
|
"IsotopeR"
|
|
|
|
"JGR"
|
|
|
|
"KappaGUI"
|
|
|
|
"LS2Wstat"
|
|
|
|
"MAR1"
|
|
|
|
"MTurkR"
|
|
|
|
"MareyMap"
|
|
|
|
"MergeGUI"
|
|
|
|
"Meth27QC"
|
|
|
|
"MicroStrategyR"
|
|
|
|
"MissingDataGUI"
|
|
|
|
"MplusAutomation"
|
|
|
|
"OligoSpecificitySystem"
|
|
|
|
"OpenRepGrid"
|
|
|
|
"PBSadmb"
|
|
|
|
"PBSmodelling"
|
|
|
|
"PCPS"
|
|
|
|
"PopGenReport"
|
|
|
|
"PredictABEL"
|
|
|
|
"PrevMap"
|
|
|
|
"ProbForecastGOP"
|
|
|
|
"QCAGUI"
|
|
|
|
"R2STATS"
|
|
|
|
"RHRV"
|
|
|
|
"RNCEP"
|
|
|
|
"RQDA"
|
|
|
|
"RSDA"
|
|
|
|
"RSurvey"
|
|
|
|
"RandomFields"
|
|
|
|
"Rcmdr"
|
|
|
|
"RcmdrPlugin_BCA"
|
|
|
|
"RcmdrPlugin_DoE"
|
|
|
|
"RcmdrPlugin_EACSPIR"
|
|
|
|
"RcmdrPlugin_EBM"
|
|
|
|
"RcmdrPlugin_EZR"
|
|
|
|
"RcmdrPlugin_EcoVirtual"
|
|
|
|
"RcmdrPlugin_FactoMineR"
|
|
|
|
"RcmdrPlugin_HH"
|
|
|
|
"RcmdrPlugin_IPSUR"
|
|
|
|
"RcmdrPlugin_KMggplot2"
|
|
|
|
"RcmdrPlugin_MA"
|
|
|
|
"RcmdrPlugin_MPAStats"
|
|
|
|
"RcmdrPlugin_ROC"
|
|
|
|
"RcmdrPlugin_SCDA"
|
|
|
|
"RcmdrPlugin_SLC"
|
|
|
|
"RcmdrPlugin_SM"
|
|
|
|
"RcmdrPlugin_StatisticalURV"
|
|
|
|
"RcmdrPlugin_TeachingDemos"
|
|
|
|
"RcmdrPlugin_UCA"
|
|
|
|
"RcmdrPlugin_coin"
|
|
|
|
"RcmdrPlugin_depthTools"
|
|
|
|
"RcmdrPlugin_doex"
|
|
|
|
"RcmdrPlugin_epack"
|
|
|
|
"RcmdrPlugin_lfstat"
|
|
|
|
"RcmdrPlugin_mosaic"
|
|
|
|
"RcmdrPlugin_orloca"
|
|
|
|
"RcmdrPlugin_plotByGroup"
|
|
|
|
"RcmdrPlugin_pointG"
|
|
|
|
"RcmdrPlugin_qual"
|
|
|
|
"RcmdrPlugin_sampling"
|
|
|
|
"RcmdrPlugin_sos"
|
|
|
|
"RcmdrPlugin_steepness"
|
|
|
|
"RcmdrPlugin_survival"
|
|
|
|
"RcmdrPlugin_temis"
|
|
|
|
"RenextGUI"
|
|
|
|
"RunuranGUI"
|
|
|
|
"SOLOMON"
|
|
|
|
"SPACECAP"
|
|
|
|
"SRRS"
|
|
|
|
"SSDforR"
|
|
|
|
"STEPCAM"
|
|
|
|
"SYNCSA"
|
|
|
|
"Simile"
|
|
|
|
"SimpleTable"
|
|
|
|
"StatDA"
|
|
|
|
"SyNet"
|
|
|
|
"TDMR"
|
|
|
|
"TED"
|
|
|
|
"TIMP"
|
|
|
|
"TTAinterfaceTrendAnalysis"
|
|
|
|
"TestScorer"
|
|
|
|
"VIMGUI"
|
|
|
|
"VecStatGraphs3D"
|
|
|
|
"WMCapacity"
|
|
|
|
"accrual"
|
|
|
|
"ade4TkGUI"
|
|
|
|
"adehabitat"
|
|
|
|
"analogue"
|
|
|
|
"analogueExtra"
|
|
|
|
"aplpack"
|
|
|
|
"aqfig"
|
|
|
|
"arf3DS4"
|
|
|
|
"asbio"
|
|
|
|
"bayesDem"
|
|
|
|
"betapart"
|
|
|
|
"betaper"
|
|
|
|
"bio_infer"
|
|
|
|
"bipartite"
|
|
|
|
"biplotbootGUI"
|
|
|
|
"blender"
|
|
|
|
"cairoDevice"
|
|
|
|
"cncaGUI"
|
|
|
|
"cocorresp"
|
|
|
|
"confidence"
|
|
|
|
"constrainedKriging"
|
|
|
|
"cpa"
|
|
|
|
"dave"
|
|
|
|
"debug"
|
|
|
|
"detrendeR"
|
|
|
|
"dgmb"
|
|
|
|
"dpa"
|
|
|
|
"dynBiplotGUI"
|
|
|
|
"dynamicGraph"
|
|
|
|
"eVenn"
|
|
|
|
"exactLoglinTest"
|
|
|
|
"fSRM"
|
|
|
|
"fat2Lpoly"
|
|
|
|
"fbati"
|
|
|
|
"feature"
|
|
|
|
"fgui"
|
|
|
|
"fisheyeR"
|
|
|
|
"fit4NM"
|
|
|
|
"forams"
|
|
|
|
"forensim"
|
|
|
|
"fscaret"
|
|
|
|
"gWidgets2RGtk2"
|
|
|
|
"gWidgets2tcltk"
|
|
|
|
"gWidgetsRGtk2"
|
|
|
|
"gWidgetstcltk"
|
|
|
|
"gcmr"
|
|
|
|
"geoR"
|
|
|
|
"geoRglm"
|
|
|
|
"geomorph"
|
|
|
|
"georob"
|
|
|
|
"gnm"
|
|
|
|
"gsubfn"
|
|
|
|
"iBUGS"
|
|
|
|
"iDynoR"
|
|
|
|
"ic50"
|
|
|
|
"in2extRemes"
|
|
|
|
"iplots"
|
|
|
|
"isopam"
|
|
|
|
"likeLTD"
|
|
|
|
"loe"
|
|
|
|
"logmult"
|
|
|
|
"memgene"
|
|
|
|
"metacom"
|
|
|
|
"migui"
|
|
|
|
"miniGUI"
|
|
|
|
"mixsep"
|
|
|
|
"mlDNA"
|
|
|
|
"mpmcorrelogram"
|
|
|
|
"mritc"
|
|
|
|
"multgee"
|
|
|
|
"multibiplotGUI"
|
|
|
|
"nodiv"
|
|
|
|
"onemap"
|
|
|
|
"palaeoSig"
|
|
|
|
"paleoMAS"
|
|
|
|
"pbatR"
|
|
|
|
"pez"
|
|
|
|
"phylotools"
|
|
|
|
"picante"
|
|
|
|
"playwith"
|
|
|
|
"plotSEMM"
|
|
|
|
"plsRbeta"
|
|
|
|
"plsRglm"
|
|
|
|
"pmg"
|
|
|
|
"poppr"
|
|
|
|
"powerpkg"
|
|
|
|
"prefmod"
|
|
|
|
"qtbase"
|
|
|
|
"qtpaint"
|
|
|
|
"qtutils"
|
|
|
|
"r4ss"
|
|
|
|
"rAverage"
|
|
|
|
"rareNMtests"
|
|
|
|
"recluster"
|
|
|
|
"relax"
|
|
|
|
"relimp"
|
|
|
|
"reportRx"
|
|
|
|
"reshapeGUI"
|
|
|
|
"rgl"
|
|
|
|
"rich"
|
|
|
|
"ringscale"
|
|
|
|
"rioja"
|
|
|
|
"ripa"
|
|
|
|
"rite"
|
|
|
|
"rnbn"
|
|
|
|
"rsgcc"
|
|
|
|
"sdcMicroGUI"
|
|
|
|
"sharpshootR"
|
|
|
|
"simba"
|
|
|
|
"soundecology"
|
|
|
|
"spacodiR"
|
|
|
|
"spatsurv"
|
|
|
|
"sqldf"
|
|
|
|
"statcheck"
|
|
|
|
"stosim"
|
|
|
|
"strvalidator"
|
|
|
|
"stylo"
|
|
|
|
"svDialogstcltk"
|
|
|
|
"svIDE"
|
|
|
|
"svSocket"
|
|
|
|
"svWidgets"
|
|
|
|
"tcltk2"
|
|
|
|
"titan"
|
|
|
|
"tkrgl"
|
|
|
|
"tkrplot"
|
|
|
|
"tmap"
|
|
|
|
"tspmeta"
|
|
|
|
"twiddler"
|
|
|
|
"vcdExtra"
|
|
|
|
"vegan"
|
|
|
|
"vegan3d"
|
|
|
|
"vegclust"
|
|
|
|
"x12GUI"
|
|
|
|
"xergm"
|
|
|
|
];
|
|
|
|
|
|
|
|
packagesToSkipCheck = [
|
|
|
|
"Rmpi" # tries to run MPI processes
|
|
|
|
"gmatrix" # requires CUDA runtime
|
|
|
|
"sprint" # tries to run MPI processes
|
2015-02-19 20:53:36 +00:00
|
|
|
"pbdMPI" # tries to run MPI processes
|
2014-11-29 13:13:11 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Packages which cannot be installed due to lack of dependencies or other reasons.
|
2015-02-22 16:45:12 +00:00
|
|
|
brokenPackages = [
|
|
|
|
"ACNE" # requires aroma_affymetrix
|
|
|
|
"Actigraphy" # SDMTools.so: undefined symbol: X
|
|
|
|
"adaptsmoFMRI" # requires spatstat
|
|
|
|
"ads" # requires spatstat
|
|
|
|
"agridat" # requires pcaMethods
|
|
|
|
"aLFQ" # requires protiq
|
|
|
|
"AntWeb" # requires leafletR
|
|
|
|
"aoristic" # requires spatstat
|
|
|
|
"apmsWAPP" # requires genefilter, Biobase, multtest, edgeR, DESeq, and aroma.light
|
|
|
|
"aroma_affymetrix" # requires aroma_core
|
|
|
|
"aroma_cn" # requires PSCBS
|
|
|
|
"aroma_core" # requires PSCBS
|
|
|
|
"ArrayBin" # requires SAGx
|
|
|
|
"babel" # requires edgeR
|
|
|
|
"BACA" # requires RDAVIDWebService
|
|
|
|
"BcDiag" # requires fabia
|
|
|
|
"bdvis" # requres taxize
|
|
|
|
"beadarrayFilter" # requires beadarray
|
|
|
|
"bigGP" # requires MPI running. HELP WANTED!
|
|
|
|
"bigpca" # requires NCmisc
|
|
|
|
"Biograph" # requires mvna
|
|
|
|
"biotools" # requires rpanel
|
|
|
|
"BiSEp" # requires GOSemSim, GO.db, and org.Hs.eg.db
|
|
|
|
"BLCOP" # depends on broken fPortfolio
|
|
|
|
"bmrm" # requires clpAPI
|
|
|
|
"branchLars" # requires Rgraphviz
|
|
|
|
"BRugs" # requires OpenBUGS
|
|
|
|
"calmate" # requires aroma_core
|
2014-11-29 13:13:11 +00:00
|
|
|
"CARrampsOcl" # depends on OpenCL
|
2015-02-22 16:45:12 +00:00
|
|
|
"CHAT" # requires DNAcopy
|
|
|
|
"ChemoSpec" # depends on broken speaq
|
|
|
|
"classGraph" # requires graph, and Rgraphviz
|
|
|
|
"clpAPI" # requires clp
|
|
|
|
"compendiumdb" # requires Biobase
|
|
|
|
"CORM" # requires limma
|
|
|
|
"cplexAPI" # requires CPLEX
|
|
|
|
"crmn" # requires pcaMethods, and Biobase
|
|
|
|
"CrypticIBDcheck" # requires rJPSGCS
|
|
|
|
"cudaBayesreg" # requres Rmath
|
|
|
|
"curvHDR" # requires flowCore
|
|
|
|
"D2C" # requires gRbase
|
|
|
|
"DAAGbio" # requires limma
|
2015-03-04 11:50:51 +00:00
|
|
|
"daff" # requires V8 to build
|
2015-02-22 16:45:12 +00:00
|
|
|
"dagbag" # requires Rlapack
|
|
|
|
"DBKGrad" # requires SDD
|
|
|
|
"dbmss" # requires spatstat
|
|
|
|
"DCGL" # requires limma
|
|
|
|
"dcGOR" # requires dnet
|
|
|
|
"demi" # requires affy, affxparser, and oligo
|
|
|
|
"DepthProc" # requires samr
|
2015-03-21 20:59:31 +00:00
|
|
|
"DiagrammeR" # requires V8 to build
|
2015-02-22 16:45:12 +00:00
|
|
|
"Digiroo2" # requires spatstat
|
|
|
|
"dixon" # requires spatstat
|
|
|
|
"dnet" # requires supraHex, graph, Rgraphviz, and Biobase
|
|
|
|
"doMPI" # requires MPI running. HELP WANTED!
|
|
|
|
"dpcR" # requires spatstat
|
|
|
|
"DSpat" # requires spatstat
|
|
|
|
"ecespa" # requires spatstat
|
|
|
|
"ecoengine" # requires leafletR
|
|
|
|
"ecospat" # requires spatstat
|
|
|
|
"edgeRun" # requires edgeR
|
|
|
|
"EMA" # requires siggenes, affy, multtest, gcrma, biomaRt, and AnnotationDbi
|
|
|
|
"EMDomics" # requires BiocParallel
|
|
|
|
"empiricalFDR_DESeq2" # requires DESeq2, and GenomicRanges
|
|
|
|
"epoc" # requires graph, and Rgraphviz
|
|
|
|
"erpR" # requires rpanel
|
|
|
|
"ETAS" # requires spatstat
|
|
|
|
"eulerian" # requires graph
|
|
|
|
"evobiR" # requres taxiz
|
|
|
|
"evora" # requires qvalue
|
|
|
|
"ExomeDepth" # requires GenomicRanges, and Rsamtools
|
|
|
|
"FAMT" # requires impute
|
|
|
|
"fdrDiscreteNull" # requires edgeR
|
|
|
|
"FHtest" # requires interval
|
|
|
|
"flexCWM" # depends on broken mixture
|
|
|
|
"fPortfolio" # requires rneos
|
|
|
|
"FunctionalNetworks" # requires breastCancerVDX, and Biobase
|
|
|
|
"gamlss_demo" # requires rpanel
|
|
|
|
"GeneticTools" # requires snpStats
|
|
|
|
"GExMap" # requires Biobase and multtest
|
|
|
|
"gitter" # requires EBImage
|
2015-03-25 15:06:40 +00:00
|
|
|
"glmgraph" # test suite says: "undefined symbol: dgemv_"
|
2015-02-20 13:29:47 +00:00
|
|
|
"gmatrix" # depends on proprietary cudatoolkit
|
2015-02-22 16:45:12 +00:00
|
|
|
"GOGANPA" # requires WGCNA
|
2015-02-20 13:29:47 +00:00
|
|
|
"gputools" # depends on proprietary cudatoolkit
|
2015-02-22 16:45:12 +00:00
|
|
|
"gRain" # requires gRbase
|
|
|
|
"gRapHD" # requires graph
|
|
|
|
"gRbase" # requires RBGL, and graph
|
|
|
|
"gRc" # requires gRbase
|
|
|
|
"gridDebug" # requires gridGraphviz
|
|
|
|
"gridGraphviz" # requires graph, and Rgraphviz
|
|
|
|
"GriegSmith" # requires spatstat
|
|
|
|
"gRim" # requires gRbase
|
|
|
|
"GSAgm" # requires edgeR
|
|
|
|
"GUIDE" # requires rpanel
|
|
|
|
"h2o" # tries to download some h2o.jar during its build
|
|
|
|
"hasseDiagram" # requires Rgraphviz
|
|
|
|
"hddplot" # requires multtest
|
|
|
|
"HierO" # requires rneos
|
|
|
|
"HiPLARM" # requires MAGMA or PLASMA
|
|
|
|
"hpoPlot" # requires Rgraphviz
|
|
|
|
"HTSCluster" # requires edgeR
|
2015-02-20 13:29:47 +00:00
|
|
|
"iFes" # depends on proprietary cudatoolkit
|
2015-02-22 16:45:12 +00:00
|
|
|
"imputeLCMD" # requires pcaMethods, and impute
|
|
|
|
"intamapInteractive" # requires spatstat
|
|
|
|
"interval" # requires Icens
|
|
|
|
"ionflows" # requires Biostrings
|
|
|
|
"iRefR" # requires graph, and RBGL
|
|
|
|
"IsoGene" # requires Biobase, and affy
|
|
|
|
"isva" # requires qvalue
|
2015-02-20 13:29:47 +00:00
|
|
|
"jomo" # linking errors
|
2015-02-22 16:45:12 +00:00
|
|
|
"js" # requires broken V8
|
2015-01-13 11:03:48 +00:00
|
|
|
"KANT" # requires affy, and Biobase
|
2014-11-29 13:13:11 +00:00
|
|
|
"ktspair" # requires Biobase
|
2015-02-22 16:45:12 +00:00
|
|
|
"latticeDensity" # requires spatstat
|
|
|
|
"leapp" # requires sva
|
|
|
|
"lefse" # SDMTools.so: undefined symbol: X
|
|
|
|
"lgcp" # requires rpanel
|
|
|
|
"LinRegInteractive" # requires Rpanel
|
|
|
|
"LogisticDx" # requires gRbase
|
|
|
|
"LOST" # requires pcaMethods
|
|
|
|
"ltsk" # requires Rlapack and Rblas
|
|
|
|
"magma" # requires MAGMA
|
|
|
|
"MAMA" # requires metaMA
|
|
|
|
"MEET" # requires pcaMethods, and seqLogo
|
|
|
|
"metabolomics" # depends on broken crmn
|
|
|
|
"MetaDE" # requires impute, and Biobase
|
2015-01-13 11:03:48 +00:00
|
|
|
"MetaLandSim" # requires Biobase
|
2015-02-22 16:45:12 +00:00
|
|
|
"metaMA" # requires limma
|
|
|
|
"metaMix" # requires MPI running. HELP WANTED!
|
2014-11-29 13:13:11 +00:00
|
|
|
"mGSZ" # requires Biobase, and limma
|
2015-02-22 16:45:12 +00:00
|
|
|
"MigClim" # SDMTools.So: Undefined Symbol: X
|
2015-02-19 20:53:36 +00:00
|
|
|
"minimist" # requires broken V8
|
2014-11-29 13:13:11 +00:00
|
|
|
"miRtest" # requires globaltest, GlobalAncova, and limma
|
2015-02-22 16:45:12 +00:00
|
|
|
"mixture" # mixture.so: undefined symbol: dtrmm_
|
|
|
|
"moduleColor" # requires impute
|
|
|
|
"msarc" # requires AnnotationDbi
|
|
|
|
"MSeasy" # requires mzR, and xcms
|
|
|
|
"MSeasyTkGUI" # requires MSeasyTkGUI
|
|
|
|
"MSIseq" # requires IRanges
|
2014-11-29 13:13:11 +00:00
|
|
|
"msSurv" # requires graph
|
2015-02-22 16:45:12 +00:00
|
|
|
"multiDimBio" # requires pcaMethods
|
|
|
|
"mutossGUI" # requires mutoss
|
|
|
|
"mutoss" # requires multtest
|
|
|
|
"MXM" # depends on broken gRbase
|
|
|
|
"NBPSeq" # requires qvalue
|
|
|
|
"NCmisc" # requires BiocInstaller
|
|
|
|
"netClass" # requires samr
|
|
|
|
"nettools" # requires WGCNA
|
2015-03-25 15:06:40 +00:00
|
|
|
"NORRRM" # can't load SDMTools properly
|
2015-02-22 16:45:12 +00:00
|
|
|
"netweavers" # requires BiocGenerics, Biobase, and limma
|
|
|
|
"NLPutils" # requires qdap
|
|
|
|
"NSA" # requires aroma_core
|
|
|
|
"OpenCL" # FIXME: requires CL/opencl.h
|
|
|
|
"optBiomarker" # requires rpanel
|
|
|
|
"ora" # requires ROracle
|
|
|
|
"orQA" # requires genefilter
|
2015-03-25 15:06:40 +00:00
|
|
|
"PBSmapping" # fails its test suite for unclear reasons
|
2015-01-13 11:03:48 +00:00
|
|
|
"PairViz" # requires graph
|
2015-02-22 16:45:12 +00:00
|
|
|
"PANDA" # requires GO.db
|
|
|
|
"ParDNAcopy" # requires DNAcopy
|
|
|
|
"pathClass" # requires affy, and Biobase
|
|
|
|
"PatternClass" # SDMTools.So: Undefined Symbol: X
|
|
|
|
"pbdBASE" # requires pbdMPI
|
|
|
|
"pbdDEMO" # requires pbdMPI
|
|
|
|
"pbdDMAT" # requires pbdMPI
|
|
|
|
"pbdSLAP" # requires pbdMPI
|
|
|
|
"pcaL1" # requires clp
|
2014-11-29 13:13:11 +00:00
|
|
|
"pcalg" # requires graph, and RBGL
|
2015-02-22 16:45:12 +00:00
|
|
|
"PCGSE" # requires safe
|
|
|
|
"PCS" # requires multtest
|
|
|
|
"PepPrep" # requires biomaRt
|
|
|
|
"PerfMeas" # requires limma, graph, and RBGL
|
|
|
|
"permGPU" # requires Biobase
|
|
|
|
"PhViD" # requires LBE
|
|
|
|
"pi0" # requires qvalue
|
|
|
|
"plmDE" # requires limma
|
|
|
|
"plsRcox" # requires survcomp
|
|
|
|
"PMA" # requires impute
|
|
|
|
"pmcgd" # depends on broken mixture
|
|
|
|
"pmclust" # requires MPI running. HELP WANTED!
|
|
|
|
"polyCub" # requires spatstat
|
|
|
|
"ppiPre" # requires AnnotationDbi, GOSemSim, GO.db
|
|
|
|
"propOverlap" # requires Biobase
|
2014-11-29 13:13:11 +00:00
|
|
|
"protiq" # requires graph, and RBGL
|
2015-02-22 16:45:12 +00:00
|
|
|
"PSCBS" # requires DNAcopy
|
|
|
|
"pubmed_mineR" # requires SSOAP
|
|
|
|
"PubMedWordcloud" # requires GOsummaries
|
|
|
|
"qdap" # requires gender
|
|
|
|
"qtlnet" # requires pcalg
|
|
|
|
"qtpaint" # can't find QtCore libraries
|
2015-01-13 11:03:48 +00:00
|
|
|
"QuACN" # requires graph, RBGL
|
2015-02-22 16:45:12 +00:00
|
|
|
"QuasiSeq" # requires edgeR
|
|
|
|
"RADami" # requires Biostrings
|
|
|
|
"raincpc" # SDMTools.so: undefined symbol: X
|
|
|
|
"rainfreq" # SDMTools.so: undefined symbol: X
|
2015-01-13 11:03:48 +00:00
|
|
|
"RAM" # requires Heatplus
|
2015-02-22 16:45:12 +00:00
|
|
|
"RAPIDR" # requires Biostrings, Rsamtools, and GenomicRanges
|
2015-03-25 15:06:40 +00:00
|
|
|
"RapidPolygonLookup" # depends on broken PBSmapping
|
2015-02-22 16:45:12 +00:00
|
|
|
"RbioRXN" # requires fmcsR, and KEGGREST
|
2015-03-06 10:21:21 +00:00
|
|
|
"RcppAPT" # configure script depends on /bin/sh
|
2015-02-22 16:45:12 +00:00
|
|
|
"RcmdrPlugin_seeg" # requires seeg
|
|
|
|
"Rcplex" # requires cplexAPI
|
2015-01-13 11:03:48 +00:00
|
|
|
"RcppRedis" # requires Hiredis
|
2015-02-22 16:45:12 +00:00
|
|
|
"rDEA" # no such file or directory
|
2014-11-29 13:13:11 +00:00
|
|
|
"RDieHarder" # requires libdieharder
|
2015-02-22 16:45:12 +00:00
|
|
|
"reader" # requires NCmisc
|
|
|
|
"REBayes" # requires Rmosek
|
|
|
|
"RefFreeEWAS" # requires isva
|
|
|
|
"retistruct" # depends on broken RImageJROI
|
|
|
|
"RImageJROI" # requires spatstat
|
2015-03-04 11:50:51 +00:00
|
|
|
"rjade" # requires V8 to build
|
2015-02-22 16:45:12 +00:00
|
|
|
"rJPSGCS" # requires chopsticks
|
2015-01-13 11:03:48 +00:00
|
|
|
"rLindo" # requires LINDO API
|
2014-11-29 13:13:11 +00:00
|
|
|
"Rmosek" # requires mosek
|
2015-02-22 16:45:12 +00:00
|
|
|
"RnavGraph" # requires graph, and RBGL
|
|
|
|
"rneos" # requires XMLRPC
|
|
|
|
"RNeXML" # requres taxize
|
|
|
|
"RobLoxBioC" # requires Biobase
|
|
|
|
"RobLox" # requires Biobase
|
|
|
|
"RockFab" # requires EBImage
|
|
|
|
"ROI_plugin_symphony" # depends on broken Rsymphony
|
2015-01-13 11:03:48 +00:00
|
|
|
"ROracle" # requires OCI
|
2015-02-22 16:45:12 +00:00
|
|
|
"rpanel" # I could not make Tcl to recognize BWidget. HELP WANTED!
|
2015-01-13 11:03:48 +00:00
|
|
|
"RQuantLib" # requires QuantLib
|
2015-02-22 16:45:12 +00:00
|
|
|
"RSAP" # requires SAPNWRFCSDK
|
2015-01-13 11:03:48 +00:00
|
|
|
"RSeed" # requires RBGL, and graph
|
2015-02-22 16:45:12 +00:00
|
|
|
"rsig" # requires survcomp
|
|
|
|
"RSNPset" # requires qvalue
|
|
|
|
"rsprng" # requres sprng
|
|
|
|
"Rsymphony" # FIXME: requires SYMPHONY
|
2015-01-13 11:03:48 +00:00
|
|
|
"RVideoPoker" # requires Rpanel
|
2014-11-29 13:13:11 +00:00
|
|
|
"rysgran" # requires soiltexture
|
2015-02-22 16:45:12 +00:00
|
|
|
"samr" # requires impute
|
|
|
|
"saps" # requires piano, and survcomp
|
|
|
|
"SDD" # requires rpanel
|
2014-11-29 13:13:11 +00:00
|
|
|
"seeg" # requires spatstat
|
2015-02-22 16:45:12 +00:00
|
|
|
"selectspm" # depends on broken ecespa
|
|
|
|
"semiArtificial" # requires RSNNS
|
|
|
|
"SeqFeatR" # requires Biostrings, qvalue, and widgetTools
|
|
|
|
"sequenza" # requires copynumber
|
2015-01-13 11:03:48 +00:00
|
|
|
"SGCS" # requires spatstat
|
2014-11-29 13:13:11 +00:00
|
|
|
"siar" # requires spatstat
|
2015-03-09 19:39:23 +00:00
|
|
|
"SID" # requires pcalg
|
2015-02-22 16:45:12 +00:00
|
|
|
"SimRAD" # requires Biostrings, and ShortRead
|
|
|
|
"SimSeq" # requires edgeR
|
2014-11-29 13:13:11 +00:00
|
|
|
"siplab" # requires spatstat
|
2015-02-22 16:45:12 +00:00
|
|
|
"smart" # requires PMA
|
|
|
|
"snpEnrichment" # requires snpStats
|
|
|
|
"snplist" # requires biomaRt
|
|
|
|
"snpStatsWriter" # requires snpStats
|
|
|
|
"SNPtools" # requires IRanges, GenomicRanges, Biostrings, and Rsamtools
|
|
|
|
"SOD" # depends on proprietary cudatoolkit
|
|
|
|
"soilphysics" # requires rpanel
|
2014-11-29 13:13:11 +00:00
|
|
|
"sparr" # requires spatstat
|
|
|
|
"spatialsegregation" # requires spatstat
|
2015-01-13 11:03:48 +00:00
|
|
|
"SpatialVx" # requires spatstat
|
2015-02-22 16:45:12 +00:00
|
|
|
"speaq" # requires MassSpecWavelet
|
|
|
|
"spocc" # requires leafletR
|
|
|
|
"SQDA" # requires limma
|
|
|
|
"Statomica" # requires Biobase, multtest
|
2014-11-29 13:13:11 +00:00
|
|
|
"stpp" # requires spatstat
|
2015-02-22 16:45:12 +00:00
|
|
|
"structSSI" # requires multtest
|
|
|
|
"strum" # requires Rgraphviz
|
|
|
|
"superbiclust" # requires fabia
|
|
|
|
"surveillance" # requires polyCub
|
|
|
|
"swamp" # requires impute
|
|
|
|
"sybilSBML" # requires libSBML
|
2014-11-29 13:13:11 +00:00
|
|
|
"taxize" # requres bold
|
2015-02-22 16:45:12 +00:00
|
|
|
"TcGSA" # requires multtest
|
|
|
|
"topologyGSA" # requires gRbase
|
2014-11-29 13:13:11 +00:00
|
|
|
"TR8" # requres taxize
|
2015-02-22 16:45:12 +00:00
|
|
|
"trip" # requires spatstat
|
|
|
|
"ttScreening" # requires sva, and limma
|
|
|
|
"V8" # compilation error
|
|
|
|
"vows" # requires rpanel
|
2015-03-25 15:06:40 +00:00
|
|
|
"vmsbase" # depends on broken PBSmapping
|
2015-02-22 16:45:12 +00:00
|
|
|
"WGCNA" # requires impute
|
|
|
|
"wgsea" # requires snpStats
|
|
|
|
"WideLM" # depends on proprietary cudatoolkit
|
|
|
|
"x_ent" # requires opencpu
|
|
|
|
"zoib" # tarball is invalid on server
|
2014-11-29 13:13:11 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
otherOverrides = old: new: {
|
2015-01-26 09:04:48 +00:00
|
|
|
curl = old.curl.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "export CURL_INCLUDES=${pkgs.curl}/include/curl";
|
|
|
|
});
|
|
|
|
|
2015-02-19 20:53:36 +00:00
|
|
|
iFes = old.iFes.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/iFes.patch ];
|
|
|
|
CUDA_HOME = "${pkgs.cudatoolkit}";
|
|
|
|
});
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: {
|
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
|
|
|
rpf = old.rpf.overrideDerivation (attrs: {
|
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
|
|
|
BayesXsrc = old.BayesXsrc.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/BayesXsrc.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
rJava = old.rJava.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
export JAVA_CPPFLAGS=-I${pkgs.jdk}/include/
|
|
|
|
export JAVA_HOME=${pkgs.jdk}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
JavaGD = old.JavaGD.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
export JAVA_CPPFLAGS=-I${pkgs.jdk}/include/
|
|
|
|
export JAVA_HOME=${pkgs.jdk}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
Mposterior = old.Mposterior.overrideDerivation (attrs: {
|
|
|
|
PKG_LIBS = "-L${pkgs.atlas}/lib -lf77blas -latlas";
|
|
|
|
});
|
|
|
|
|
|
|
|
qtbase = old.qtbase.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/qtbase.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
Rmpi = old.Rmpi.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-Rmpi-type=OPENMPI"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
Rmpfr = old.Rmpfr.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-mpfr-include=${pkgs.mpfr}/include"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RVowpalWabbit = old.RVowpalWabbit.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-boost=${pkgs.boost.dev}" "--with-boost-libdir=${pkgs.boost.lib}/lib"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RAppArmor = old.RAppArmor.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/RAppArmor.patch ];
|
2015-03-19 13:14:28 +00:00
|
|
|
LIBAPPARMOR_HOME = "${pkgs.libapparmor}";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
RMySQL = old.RMySQL.overrideDerivation (attrs: {
|
2015-02-19 20:53:36 +00:00
|
|
|
patches = [ ./patches/RMySQL.patch ];
|
|
|
|
MYSQL_DIR="${pkgs.mysql}";
|
|
|
|
});
|
|
|
|
|
|
|
|
devEMF = old.devEMF.overrideDerivation (attrs: {
|
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.xlibs.libXft}/lib -lXft";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
slfm = old.slfm.overrideDerivation (attrs: {
|
|
|
|
PKG_LIBS = "-L${pkgs.atlas}/lib -lf77blas -latlas";
|
|
|
|
});
|
|
|
|
|
|
|
|
SamplerCompare = old.SamplerCompare.overrideDerivation (attrs: {
|
|
|
|
PKG_LIBS = "-L${pkgs.atlas}/lib -lf77blas -latlas";
|
|
|
|
});
|
|
|
|
|
|
|
|
gputools = old.gputools.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/gputools.patch ];
|
|
|
|
CUDA_HOME = "${pkgs.cudatoolkit}";
|
|
|
|
});
|
|
|
|
|
|
|
|
# It seems that we cannot override meta attributes with overrideDerivation.
|
|
|
|
CARramps = (old.CARramps.override { hydraPlatforms = stdenv.lib.platforms.none; }).overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/CARramps.patch ];
|
|
|
|
configureFlags = [
|
|
|
|
"--with-cuda-home=${pkgs.cudatoolkit}"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
gmatrix = old.gmatrix.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/gmatrix.patch ];
|
|
|
|
CUDA_LIB_PATH = "${pkgs.cudatoolkit}/lib64";
|
|
|
|
R_INC_PATH = "${pkgs.R}/lib/R/include";
|
|
|
|
CUDA_INC_PATH = "${pkgs.cudatoolkit}/usr_include";
|
|
|
|
});
|
|
|
|
|
|
|
|
# It seems that we cannot override meta attributes with overrideDerivation.
|
|
|
|
rpud = (old.rpud.override { hydraPlatforms = stdenv.lib.platforms.none; }).overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/rpud.patch ];
|
|
|
|
CUDA_HOME = "${pkgs.cudatoolkit}";
|
|
|
|
});
|
|
|
|
|
|
|
|
WideLM = old.WideLM.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/WideLM.patch ];
|
|
|
|
configureFlags = [
|
|
|
|
"--with-cuda-home=${pkgs.cudatoolkit}"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
EMCluster = old.EMCluster.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/EMCluster.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
spMC = old.spMC.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/spMC.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
BayesLogit = old.BayesLogit.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/BayesLogit.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
BayesBridge = old.BayesBridge.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/BayesBridge.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
openssl = old.openssl.overrideDerivation (attrs: {
|
2015-02-19 20:53:36 +00:00
|
|
|
OPENSSL_INCLUDES = "${pkgs.openssl}/include";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
Rserve = old.Rserve.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/Rserve.patch ];
|
|
|
|
configureFlags = [
|
|
|
|
"--with-server" "--with-client"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
nloptr = old.nloptr.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-nlopt-cflags=-I${pkgs.nlopt}/include"
|
|
|
|
"--with-nlopt-libs='-L${pkgs.nlopt}/lib -lnlopt_cxx -lm'"
|
|
|
|
];
|
|
|
|
});
|
2014-12-03 13:48:51 +00:00
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
};
|
2014-12-01 13:06:35 +00:00
|
|
|
in
|
|
|
|
self
|