2014-12-01 14:06:35 +01:00
|
|
|
/* This file defines the composition for CRAN (R) packages. */
|
|
|
|
|
2015-01-27 14:00:00 +01:00
|
|
|
{ R, pkgs, overrides }:
|
2014-12-01 14:06:35 +01:00
|
|
|
|
|
|
|
let
|
2015-02-19 21:49:41 +01:00
|
|
|
inherit (pkgs) fetchurl stdenv lib;
|
2014-12-01 14:06:35 +01:00
|
|
|
|
2015-06-29 02:42:31 +02:00
|
|
|
buildRPackage = pkgs.callPackage ./generic-builder.nix {
|
|
|
|
inherit R;
|
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa Foundation;
|
2016-04-19 23:46:35 +02:00
|
|
|
inherit (pkgs) gettext gfortran;
|
2015-06-29 02:42:31 +02:00
|
|
|
};
|
2014-12-01 14:06:35 +01:00
|
|
|
|
2015-05-23 02:51:24 +02:00
|
|
|
# Generates package templates given per-repository settings
|
2014-12-01 14:06:35 +01:00
|
|
|
#
|
|
|
|
# some packages, e.g. cncaGUI, require X running while installation,
|
|
|
|
# so that we use xvfb-run if requireX is true.
|
2015-11-24 14:59:04 +01:00
|
|
|
mkDerive = {mkHomepage, mkUrls}: args:
|
|
|
|
lib.makeOverridable ({
|
2014-12-01 14:06:35 +01:00
|
|
|
name, version, sha256,
|
|
|
|
depends ? [],
|
|
|
|
doCheck ? true,
|
|
|
|
requireX ? false,
|
|
|
|
broken ? false,
|
|
|
|
hydraPlatforms ? R.meta.hydraPlatforms
|
|
|
|
}: buildRPackage {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit sha256;
|
2015-11-24 14:59:04 +01:00
|
|
|
urls = mkUrls (args // { inherit name version; });
|
2014-12-01 14:06:35 +01:00
|
|
|
};
|
|
|
|
inherit doCheck requireX;
|
|
|
|
propagatedBuildInputs = depends;
|
|
|
|
nativeBuildInputs = depends;
|
2015-11-24 14:59:04 +01:00
|
|
|
meta.homepage = mkHomepage (args // { inherit name; });
|
2014-12-03 14:48:01 +01:00
|
|
|
meta.platforms = R.meta.platforms;
|
2014-12-01 14:06:35 +01:00
|
|
|
meta.hydraPlatforms = hydraPlatforms;
|
|
|
|
meta.broken = broken;
|
|
|
|
});
|
|
|
|
|
2017-03-04 21:50:20 +01:00
|
|
|
# Templates for generating Bioconductor and CRAN packages
|
2015-05-23 02:51:24 +02:00
|
|
|
# from the name, version, sha256, and optional per-package arguments above
|
|
|
|
#
|
|
|
|
deriveBioc = mkDerive {
|
2015-11-24 14:59:04 +01:00
|
|
|
mkHomepage = {name, rVersion}: "https://bioconductor.org/packages/${rVersion}/bioc/html/${name}.html";
|
|
|
|
mkUrls = {name, version, rVersion}: [ "mirror://bioc/${rVersion}/bioc/src/contrib/${name}_${version}.tar.gz" ];
|
2015-05-23 02:51:24 +02:00
|
|
|
};
|
2016-03-23 06:40:47 +01:00
|
|
|
deriveBiocAnn = mkDerive {
|
|
|
|
mkHomepage = {name, rVersion}: "http://www.bioconductor.org/packages/${name}.html";
|
|
|
|
mkUrls = {name, version, rVersion}: [ "mirror://bioc/${rVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz" ];
|
|
|
|
};
|
|
|
|
deriveBiocExp = mkDerive {
|
|
|
|
mkHomepage = {name, rVersion}: "http://www.bioconductor.org/packages/${name}.html";
|
|
|
|
mkUrls = {name, version, rVersion}: [ "mirror://bioc/${rVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz" ];
|
|
|
|
};
|
2015-05-23 02:51:24 +02:00
|
|
|
deriveCran = mkDerive {
|
2015-11-24 14:59:04 +01:00
|
|
|
mkHomepage = {name, snapshot}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/";
|
|
|
|
mkUrls = {name, version, snapshot}: [ "http://mran.revolutionanalytics.com/snapshot/${snapshot}/src/contrib/${name}_${version}.tar.gz" ];
|
2015-05-23 02:51:24 +02:00
|
|
|
};
|
|
|
|
|
2014-12-01 14:06:35 +01:00
|
|
|
# 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 21:50:42 +01:00
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).overrideDerivation (attrs: {
|
|
|
|
nativeBuildInputs = attrs.nativeBuildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
2014-12-01 14:06:35 +01: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 21:50:42 +01:00
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).overrideDerivation (attrs: {
|
|
|
|
buildInputs = attrs.buildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
2014-12-01 14:06:35 +01:00
|
|
|
|
2015-02-19 21:51:24 +01: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 14:06:35 +01: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 21:51:24 +01: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 14:06:35 +01: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;
|
2015-06-16 12:58:58 +02:00
|
|
|
_self = import ./bioc-packages.nix { inherit self; derive = deriveBioc; } //
|
2016-03-23 06:40:47 +01:00
|
|
|
import ./bioc-annotation-packages.nix { inherit self; derive = deriveBiocAnn; } //
|
|
|
|
import ./bioc-experiment-packages.nix { inherit self; derive = deriveBiocExp; } //
|
2017-03-04 21:50:20 +01:00
|
|
|
import ./cran-packages.nix { inherit self; derive = deriveCran; };
|
2014-12-01 14:06:35 +01:00
|
|
|
|
|
|
|
# tweaks for the individual packages and "in self" follow
|
|
|
|
|
2015-02-19 21:51:24 +01:00
|
|
|
packagesWithRDepends = {
|
2015-02-19 21:53:36 +01:00
|
|
|
FactoMineR = [ self.car ];
|
2015-06-16 12:06:07 +02:00
|
|
|
pander = [ self.codetools ];
|
2015-02-19 21:51:24 +01:00
|
|
|
};
|
|
|
|
|
2014-11-29 14:13:11 +01:00
|
|
|
packagesWithNativeBuildInputs = {
|
2015-12-29 20:52:19 +01:00
|
|
|
abn = [ pkgs.gsl_1 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
adimpro = [ pkgs.imagemagick ];
|
|
|
|
audio = [ pkgs.portaudio ];
|
2015-12-29 20:52:19 +01:00
|
|
|
BayesSAE = [ pkgs.gsl_1 ];
|
|
|
|
BayesVarSel = [ pkgs.gsl_1 ];
|
2017-01-06 17:30:04 +01:00
|
|
|
BayesXsrc = [ pkgs.readline.dev pkgs.ncurses ];
|
2015-03-06 11:21:21 +01:00
|
|
|
bigGP = [ pkgs.openmpi ];
|
2017-02-27 13:51:55 +01:00
|
|
|
bio3d = [ pkgs.zlib ];
|
2015-06-16 12:58:58 +02:00
|
|
|
BiocCheck = [ pkgs.which ];
|
|
|
|
Biostrings = [ pkgs.zlib ];
|
2015-12-29 20:52:19 +01:00
|
|
|
bnpmr = [ pkgs.gsl_1 ];
|
2017-01-06 17:41:42 +01:00
|
|
|
cairoDevice = [ pkgs.gtk2.dev ];
|
2017-01-06 17:11:23 +01:00
|
|
|
Cairo = [ pkgs.libtiff pkgs.libjpeg pkgs.cairo.dev pkgs.x11 pkgs.fontconfig.lib ];
|
2015-06-16 12:58:58 +02:00
|
|
|
Cardinal = [ pkgs.which ];
|
2015-03-06 11:21:21 +01:00
|
|
|
chebpol = [ pkgs.fftw ];
|
2015-06-16 12:58:58 +02:00
|
|
|
ChemmineOB = [ pkgs.openbabel pkgs.pkgconfig ];
|
2015-12-29 20:52:19 +01:00
|
|
|
cit = [ pkgs.gsl_1 ];
|
2016-09-09 15:12:54 +02:00
|
|
|
curl = [ pkgs.curl.dev ];
|
2017-01-06 17:58:58 +01:00
|
|
|
devEMF = [ pkgs.xorg.libXft.dev pkgs.x11 ];
|
2015-12-29 20:52:19 +01:00
|
|
|
diversitree = [ pkgs.gsl_1 pkgs.fftw ];
|
2015-03-06 11:21:21 +01:00
|
|
|
EMCluster = [ pkgs.liblapack ];
|
2017-01-06 18:15:14 +01:00
|
|
|
fftw = [ pkgs.fftw.dev ];
|
2017-01-06 18:16:44 +01:00
|
|
|
fftwtools = [ pkgs.fftw.dev ];
|
2015-02-19 21:53:36 +01:00
|
|
|
Formula = [ pkgs.gmp ];
|
2015-12-29 20:52:19 +01:00
|
|
|
geoCount = [ pkgs.gsl_1 ];
|
2017-01-06 17:34:21 +01:00
|
|
|
git2r = [ pkgs.zlib.dev pkgs.openssl.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
GLAD = [ pkgs.gsl_1 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
glpkAPI = [ pkgs.gmp pkgs.glpk ];
|
2017-01-06 18:20:41 +01:00
|
|
|
gmp = [ pkgs.gmp.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
graphscan = [ pkgs.gsl_1 ];
|
|
|
|
gsl = [ pkgs.gsl_1 ];
|
2016-09-27 17:46:06 +02:00
|
|
|
h5 = [ pkgs.hdf5-cpp pkgs.which ];
|
|
|
|
h5vc = [ pkgs.zlib.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
HiCseg = [ pkgs.gsl_1 ];
|
2017-04-20 20:18:01 +02:00
|
|
|
imager = [ pkgs.x11 ];
|
2015-12-29 20:52:19 +01:00
|
|
|
iBMQ = [ pkgs.gsl_1 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
igraph = [ pkgs.gmp ];
|
|
|
|
JavaGD = [ pkgs.jdk ];
|
2017-01-06 19:17:19 +01:00
|
|
|
jpeg = [ pkgs.libjpeg.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
KFKSDS = [ pkgs.gsl_1 ];
|
2017-01-06 19:18:27 +01:00
|
|
|
kza = [ pkgs.fftw.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
libamtrack = [ pkgs.gsl_1 ];
|
|
|
|
mixcat = [ pkgs.gsl_1 ];
|
|
|
|
mvabund = [ pkgs.gsl_1 ];
|
2017-01-06 19:19:27 +01:00
|
|
|
mwaved = [ pkgs.fftw.dev ];
|
2014-11-29 14:13:11 +01:00
|
|
|
ncdf4 = [ pkgs.netcdf ];
|
|
|
|
nloptr = [ pkgs.nlopt ];
|
2016-09-10 12:27:58 +02:00
|
|
|
openssl = [ pkgs.openssl.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
outbreaker = [ pkgs.gsl_1 ];
|
2015-06-16 12:06:07 +02:00
|
|
|
pander = [ pkgs.pandoc pkgs.which ];
|
2015-03-06 11:21:21 +01:00
|
|
|
pbdMPI = [ pkgs.openmpi ];
|
|
|
|
pbdNCDF4 = [ pkgs.netcdf ];
|
|
|
|
pbdPROF = [ pkgs.openmpi ];
|
2017-07-14 07:01:42 +02:00
|
|
|
pbdZMQ = [ pkgs.which ];
|
2017-01-06 19:23:42 +01:00
|
|
|
PKI = [ pkgs.openssl.dev ];
|
2016-12-12 10:53:10 +01:00
|
|
|
png = [ pkgs.libpng.dev ];
|
2017-01-06 19:25:06 +01:00
|
|
|
PopGenome = [ pkgs.zlib.dev ];
|
2014-11-29 14:13:11 +01:00
|
|
|
proj4 = [ pkgs.proj ];
|
|
|
|
qtbase = [ pkgs.qt4 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
qtpaint = [ pkgs.qt4 ];
|
2015-12-29 20:52:19 +01:00
|
|
|
R2GUESS = [ pkgs.gsl_1 ];
|
2017-01-06 19:30:56 +01:00
|
|
|
R2SWF = [ pkgs.zlib pkgs.libpng pkgs.freetype.dev ];
|
2015-03-19 14:14:28 +01:00
|
|
|
RAppArmor = [ pkgs.libapparmor ];
|
2015-06-16 12:29:02 +02:00
|
|
|
rapportools = [ pkgs.which ];
|
2015-06-16 12:58:58 +02:00
|
|
|
rapport = [ pkgs.which ];
|
2017-01-06 19:33:45 +01:00
|
|
|
rbamtools = [ pkgs.zlib.dev ];
|
2017-01-06 19:34:30 +01:00
|
|
|
rcdd = [ pkgs.gmp.dev ];
|
2017-01-06 19:35:20 +01:00
|
|
|
RcppCNPy = [ pkgs.zlib.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
RcppGSL = [ pkgs.gsl_1 ];
|
2017-01-06 19:38:00 +01:00
|
|
|
RcppOctave = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.pcre.dev pkgs.octave ];
|
2015-12-29 20:52:19 +01:00
|
|
|
RcppZiggurat = [ pkgs.gsl_1 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
rgdal = [ pkgs.proj pkgs.gdal ];
|
|
|
|
rgeos = [ pkgs.geos ];
|
2017-01-06 19:54:01 +01:00
|
|
|
rggobi = [ pkgs.ggobi pkgs.gtk2.dev pkgs.libxml2.dev ];
|
2015-09-15 11:13:22 +02:00
|
|
|
rgl = [ pkgs.mesa pkgs.xlibsWrapper ];
|
2015-03-06 11:21:21 +01:00
|
|
|
Rglpk = [ pkgs.glpk ];
|
2017-01-06 19:51:28 +01:00
|
|
|
RGtk2 = [ pkgs.gtk2.dev ];
|
2016-09-27 17:46:06 +02:00
|
|
|
rhdf5 = [ pkgs.zlib ];
|
2017-01-06 19:56:22 +01:00
|
|
|
Rhpc = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.openmpi pkgs.pcre.dev ];
|
2017-01-06 19:57:30 +01:00
|
|
|
Rhtslib = [ pkgs.zlib.dev ];
|
2017-01-06 19:59:17 +01:00
|
|
|
RJaCGH = [ pkgs.zlib.dev ];
|
2015-03-06 11:21:21 +01:00
|
|
|
rjags = [ pkgs.jags ];
|
2017-01-06 20:00:33 +01:00
|
|
|
rJava = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.pcre.dev pkgs.jdk pkgs.libzip ];
|
2015-12-29 20:52:19 +01:00
|
|
|
Rlibeemd = [ pkgs.gsl_1 ];
|
2017-01-06 20:01:17 +01:00
|
|
|
rmatio = [ pkgs.zlib.dev ];
|
2017-01-06 20:02:17 +01:00
|
|
|
Rmpfr = [ pkgs.gmp pkgs.mpfr.dev ];
|
2015-03-06 11:21:21 +01:00
|
|
|
Rmpi = [ pkgs.openmpi ];
|
2015-04-02 01:52:38 +02:00
|
|
|
RMySQL = [ pkgs.zlib pkgs.mysql.lib ];
|
2015-03-06 11:21:21 +01:00
|
|
|
RNetCDF = [ pkgs.netcdf pkgs.udunits ];
|
|
|
|
RODBCext = [ pkgs.libiodbc ];
|
|
|
|
RODBC = [ pkgs.libiodbc ];
|
|
|
|
rpg = [ pkgs.postgresql ];
|
2017-01-06 20:06:44 +01:00
|
|
|
rphast = [ pkgs.pcre.dev pkgs.zlib pkgs.bzip2 pkgs.gzip pkgs.readline ];
|
2015-03-06 11:21:21 +01:00
|
|
|
Rpoppler = [ pkgs.poppler ];
|
|
|
|
RPostgreSQL = [ pkgs.postgresql ];
|
|
|
|
RProtoBuf = [ pkgs.protobuf ];
|
|
|
|
rPython = [ pkgs.python ];
|
2017-01-06 20:09:43 +01:00
|
|
|
RSclient = [ pkgs.openssl.dev ];
|
2015-03-06 11:21:21 +01:00
|
|
|
Rserve = [ pkgs.openssl ];
|
2017-01-06 20:13:30 +01:00
|
|
|
Rssa = [ pkgs.fftw.dev ];
|
2017-01-06 20:16:49 +01:00
|
|
|
rtfbs = [ pkgs.zlib pkgs.pcre.dev pkgs.bzip2 pkgs.gzip pkgs.readline ];
|
2017-01-06 20:17:42 +01:00
|
|
|
rtiff = [ pkgs.libtiff.dev ];
|
2015-03-06 11:21:21 +01:00
|
|
|
runjags = [ pkgs.jags ];
|
2017-01-06 20:22:07 +01:00
|
|
|
RVowpalWabbit = [ pkgs.zlib.dev pkgs.boost ];
|
2015-03-06 11:21:21 +01:00
|
|
|
rzmq = [ pkgs.zeromq3 ];
|
2014-11-29 14:13:11 +01:00
|
|
|
SAVE = [ pkgs.zlib pkgs.bzip2 pkgs.icu pkgs.lzma pkgs.pcre ];
|
2015-03-06 11:21:21 +01:00
|
|
|
sdcTable = [ pkgs.gmp pkgs.glpk ];
|
2017-01-06 16:31:30 +01:00
|
|
|
seewave = [ pkgs.fftw.dev pkgs.libsndfile.dev ];
|
2017-01-06 20:26:40 +01:00
|
|
|
seqinr = [ pkgs.zlib.dev ];
|
2017-01-06 20:28:22 +01:00
|
|
|
seqminer = [ pkgs.zlib.dev pkgs.bzip2 ];
|
2017-01-06 20:29:12 +01:00
|
|
|
showtext = [ pkgs.zlib pkgs.libpng pkgs.icu pkgs.freetype.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
simplexreg = [ pkgs.gsl_1 ];
|
2017-02-28 15:20:27 +01:00
|
|
|
SOD = [ pkgs.opencl-headers ];
|
2017-01-06 20:30:01 +01:00
|
|
|
spate = [ pkgs.fftw.dev ];
|
2015-03-06 11:21:21 +01:00
|
|
|
sprint = [ pkgs.openmpi ];
|
|
|
|
ssanv = [ pkgs.proj ];
|
2015-12-29 20:52:19 +01:00
|
|
|
stsm = [ pkgs.gsl_1 ];
|
2016-09-08 00:18:48 +02:00
|
|
|
stringi = [ pkgs.icu.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
survSNP = [ pkgs.gsl_1 ];
|
2017-01-06 19:27:45 +01:00
|
|
|
sysfonts = [ pkgs.zlib pkgs.libpng pkgs.freetype.dev ];
|
2017-01-06 20:31:16 +01:00
|
|
|
TAQMNGR = [ pkgs.zlib.dev ];
|
2017-01-06 20:32:48 +01:00
|
|
|
tiff = [ pkgs.libtiff.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
TKF = [ pkgs.gsl_1 ];
|
2017-01-06 20:37:33 +01:00
|
|
|
tkrplot = [ pkgs.xorg.libX11 pkgs.tk.dev ];
|
2015-12-29 20:52:19 +01:00
|
|
|
topicmodels = [ pkgs.gsl_1 ];
|
2015-03-06 11:21:21 +01:00
|
|
|
udunits2 = [ pkgs.udunits pkgs.expat ];
|
|
|
|
V8 = [ pkgs.v8 ];
|
2015-12-29 20:52:19 +01:00
|
|
|
VBLPCM = [ pkgs.gsl_1 ];
|
|
|
|
VBmix = [ pkgs.gsl_1 pkgs.fftw pkgs.qt4 ];
|
2017-01-06 20:39:10 +01:00
|
|
|
WhopGenome = [ pkgs.zlib.dev ];
|
2017-01-06 20:39:44 +01:00
|
|
|
XBRL = [ pkgs.zlib pkgs.libxml2.dev ];
|
2017-01-06 20:40:43 +01:00
|
|
|
xml2 = [ pkgs.libxml2.dev ];
|
2016-09-09 14:36:49 +02:00
|
|
|
XML = [ pkgs.libtool pkgs.libxml2.dev pkgs.xmlsec pkgs.libxslt ];
|
2017-01-06 20:42:00 +01:00
|
|
|
affyPLM = [ pkgs.zlib.dev ];
|
2017-01-06 20:43:55 +01:00
|
|
|
bamsignals = [ pkgs.zlib.dev ];
|
2017-01-06 20:45:14 +01:00
|
|
|
BitSeq = [ pkgs.zlib.dev ];
|
2016-03-24 22:51:21 +01:00
|
|
|
DiffBind = [ pkgs.zlib ];
|
2016-09-27 17:46:06 +02:00
|
|
|
ShortRead = [ pkgs.zlib.dev ];
|
2017-01-06 20:49:49 +01:00
|
|
|
oligo = [ pkgs.zlib.dev ];
|
2017-01-06 20:51:14 +01:00
|
|
|
gmapR = [ pkgs.zlib.dev ];
|
2017-01-06 20:52:16 +01:00
|
|
|
Rsubread = [ pkgs.zlib.dev ];
|
2016-09-27 17:46:06 +02:00
|
|
|
XVector = [ pkgs.zlib.dev ];
|
|
|
|
Rsamtools = [ pkgs.zlib.dev ];
|
2017-01-06 20:53:12 +01:00
|
|
|
rtracklayer = [ pkgs.zlib.dev ];
|
2017-01-06 20:47:08 +01:00
|
|
|
affyio = [ pkgs.zlib.dev ];
|
2017-01-06 20:53:49 +01:00
|
|
|
VariantAnnotation = [ pkgs.zlib.dev ];
|
2017-01-06 20:54:40 +01:00
|
|
|
snpStats = [ pkgs.zlib.dev ];
|
2017-02-28 15:20:27 +01:00
|
|
|
gputools = [ pkgs.pcre.dev pkgs.lzma.dev pkgs.zlib.dev pkgs.bzip2.dev pkgs.icu.dev ];
|
2014-11-29 14:13:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
packagesWithBuildInputs = {
|
|
|
|
# sort -t '=' -k 2
|
2015-02-19 21:53:36 +01:00
|
|
|
svKomodo = [ pkgs.which ];
|
|
|
|
nat = [ pkgs.which ];
|
|
|
|
nat_nblast = [ pkgs.which ];
|
|
|
|
nat_templatebrains = [ pkgs.which ];
|
|
|
|
RMark = [ pkgs.which ];
|
|
|
|
RPushbullet = [ pkgs.which ];
|
2014-11-29 14:13:11 +01:00
|
|
|
qtpaint = [ pkgs.cmake ];
|
|
|
|
qtbase = [ pkgs.cmake pkgs.perl ];
|
2017-02-28 15:20:27 +01:00
|
|
|
gmatrix = [ pkgs.cudatoolkit pkgs.which ];
|
2016-09-27 17:46:06 +02:00
|
|
|
RCurl = [ pkgs.curl.dev ];
|
2014-11-29 14:13:11 +01:00
|
|
|
R2SWF = [ pkgs.pkgconfig ];
|
2015-03-26 12:20:07 +01:00
|
|
|
rggobi = [ pkgs.pkgconfig ];
|
2014-11-29 14:13:11 +01: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 ];
|
|
|
|
tcltk2 = [ pkgs.tcl pkgs.tk ];
|
2015-11-24 17:17:54 +01:00
|
|
|
tikzDevice = [ pkgs.which pkgs.texlive.combined.scheme-medium ];
|
2014-11-29 14:13:11 +01:00
|
|
|
rPython = [ pkgs.which ];
|
2015-02-19 21:53:36 +01:00
|
|
|
gridGraphics = [ pkgs.which ];
|
2014-11-29 14:13:11 +01:00
|
|
|
gputools = [ 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 ];
|
2016-03-25 08:30:20 +01:00
|
|
|
mzR = [ pkgs.netcdf ];
|
2014-11-29 14:13:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
packagesRequireingX = [
|
|
|
|
"accrual"
|
|
|
|
"ade4TkGUI"
|
|
|
|
"adehabitat"
|
|
|
|
"analogue"
|
|
|
|
"analogueExtra"
|
2015-06-16 12:58:58 +02:00
|
|
|
"AnalyzeFMRI"
|
|
|
|
"AnnotLists"
|
|
|
|
"AnthropMMD"
|
2014-11-29 14:13:11 +01:00
|
|
|
"aplpack"
|
|
|
|
"aqfig"
|
|
|
|
"arf3DS4"
|
|
|
|
"asbio"
|
2015-06-16 12:58:58 +02:00
|
|
|
"AtelieR"
|
|
|
|
"BAT"
|
2014-11-29 14:13:11 +01:00
|
|
|
"bayesDem"
|
2015-06-16 12:58:58 +02:00
|
|
|
"BCA"
|
|
|
|
"BEQI2"
|
2014-11-29 14:13:11 +01:00
|
|
|
"betapart"
|
|
|
|
"betaper"
|
2015-06-16 12:58:58 +02:00
|
|
|
"BiodiversityR"
|
|
|
|
"BioGeoBEARS"
|
2014-11-29 14:13:11 +01:00
|
|
|
"bio_infer"
|
|
|
|
"bipartite"
|
|
|
|
"biplotbootGUI"
|
|
|
|
"blender"
|
|
|
|
"cairoDevice"
|
2015-06-16 12:58:58 +02:00
|
|
|
"CCTpack"
|
2014-11-29 14:13:11 +01:00
|
|
|
"cncaGUI"
|
|
|
|
"cocorresp"
|
2015-06-16 12:58:58 +02:00
|
|
|
"CommunityCorrelogram"
|
2014-11-29 14:13:11 +01:00
|
|
|
"confidence"
|
|
|
|
"constrainedKriging"
|
2015-06-16 12:58:58 +02:00
|
|
|
"ConvergenceConcepts"
|
2014-11-29 14:13:11 +01:00
|
|
|
"cpa"
|
2015-06-16 12:58:58 +02:00
|
|
|
"DALY"
|
2014-11-29 14:13:11 +01:00
|
|
|
"dave"
|
|
|
|
"debug"
|
2015-06-16 12:58:58 +02:00
|
|
|
"Deducer"
|
|
|
|
"DeducerExtras"
|
|
|
|
"DeducerPlugInExample"
|
|
|
|
"DeducerPlugInScaling"
|
|
|
|
"DeducerSpatial"
|
|
|
|
"DeducerSurvival"
|
|
|
|
"DeducerText"
|
|
|
|
"Demerelate"
|
2014-11-29 14:13:11 +01:00
|
|
|
"detrendeR"
|
|
|
|
"dgmb"
|
2015-06-16 12:58:58 +02:00
|
|
|
"DivMelt"
|
2014-11-29 14:13:11 +01:00
|
|
|
"dpa"
|
2015-06-16 12:58:58 +02:00
|
|
|
"DSpat"
|
2014-11-29 14:13:11 +01:00
|
|
|
"dynamicGraph"
|
2015-06-16 12:58:58 +02:00
|
|
|
"dynBiplotGUI"
|
|
|
|
"EasyqpcR"
|
|
|
|
"EcoVirtual"
|
|
|
|
"ENiRG"
|
|
|
|
"EnQuireR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"eVenn"
|
|
|
|
"exactLoglinTest"
|
2015-06-16 12:58:58 +02:00
|
|
|
"FAiR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"fat2Lpoly"
|
|
|
|
"fbati"
|
2015-06-16 12:58:58 +02:00
|
|
|
"FD"
|
2014-11-29 14:13:11 +01:00
|
|
|
"feature"
|
2015-06-16 12:58:58 +02:00
|
|
|
"FeedbackTS"
|
|
|
|
"FFD"
|
2014-11-29 14:13:11 +01:00
|
|
|
"fgui"
|
|
|
|
"fisheyeR"
|
|
|
|
"fit4NM"
|
|
|
|
"forams"
|
|
|
|
"forensim"
|
2015-06-16 12:58:58 +02:00
|
|
|
"FreeSortR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"fscaret"
|
2015-06-16 12:58:58 +02:00
|
|
|
"fSRM"
|
2014-11-29 14:13:11 +01:00
|
|
|
"gcmr"
|
2015-06-16 12:58:58 +02:00
|
|
|
"GeoGenetix"
|
|
|
|
"geomorph"
|
2014-11-29 14:13:11 +01:00
|
|
|
"geoR"
|
|
|
|
"geoRglm"
|
|
|
|
"georob"
|
2015-06-16 12:58:58 +02:00
|
|
|
"GeoXp"
|
|
|
|
"GGEBiplotGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"gnm"
|
2015-06-16 12:58:58 +02:00
|
|
|
"GPCSIV"
|
|
|
|
"GrammR"
|
|
|
|
"GrapheR"
|
|
|
|
"GroupSeq"
|
2014-11-29 14:13:11 +01:00
|
|
|
"gsubfn"
|
2015-06-16 12:58:58 +02:00
|
|
|
"GUniFrac"
|
|
|
|
"gWidgets2RGtk2"
|
|
|
|
"gWidgets2tcltk"
|
|
|
|
"gWidgetsRGtk2"
|
|
|
|
"gWidgetstcltk"
|
|
|
|
"HH"
|
|
|
|
"HiveR"
|
|
|
|
"HomoPolymer"
|
2014-11-29 14:13:11 +01:00
|
|
|
"iBUGS"
|
|
|
|
"ic50"
|
2015-06-16 12:58:58 +02:00
|
|
|
"iDynoR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"in2extRemes"
|
|
|
|
"iplots"
|
|
|
|
"isopam"
|
2015-06-16 12:58:58 +02:00
|
|
|
"IsotopeR"
|
|
|
|
"JGR"
|
|
|
|
"KappaGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"likeLTD"
|
|
|
|
"logmult"
|
2015-06-16 12:58:58 +02:00
|
|
|
"LS2Wstat"
|
|
|
|
"MAR1"
|
|
|
|
"MareyMap"
|
2014-11-29 14:13:11 +01:00
|
|
|
"memgene"
|
2015-06-16 12:58:58 +02:00
|
|
|
"MergeGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"metacom"
|
2015-06-16 12:58:58 +02:00
|
|
|
"Meth27QC"
|
|
|
|
"MetSizeR"
|
|
|
|
"MicroStrategyR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"migui"
|
|
|
|
"miniGUI"
|
2015-06-16 12:58:58 +02:00
|
|
|
"MissingDataGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"mixsep"
|
|
|
|
"mlDNA"
|
2015-06-16 12:58:58 +02:00
|
|
|
"MplusAutomation"
|
2014-11-29 14:13:11 +01:00
|
|
|
"mpmcorrelogram"
|
|
|
|
"mritc"
|
2015-06-16 12:58:58 +02:00
|
|
|
"MTurkR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"multgee"
|
|
|
|
"multibiplotGUI"
|
|
|
|
"nodiv"
|
2015-06-16 12:58:58 +02:00
|
|
|
"OligoSpecificitySystem"
|
2014-11-29 14:13:11 +01:00
|
|
|
"onemap"
|
2015-06-16 12:58:58 +02:00
|
|
|
"OpenRepGrid"
|
2014-11-29 14:13:11 +01:00
|
|
|
"palaeoSig"
|
|
|
|
"paleoMAS"
|
|
|
|
"pbatR"
|
2015-06-16 12:58:58 +02:00
|
|
|
"PBSadmb"
|
|
|
|
"PBSmodelling"
|
|
|
|
"PCPS"
|
2014-11-29 14:13:11 +01:00
|
|
|
"pez"
|
|
|
|
"phylotools"
|
|
|
|
"picante"
|
2015-06-16 12:58:58 +02:00
|
|
|
"PKgraph"
|
2014-11-29 14:13:11 +01:00
|
|
|
"playwith"
|
|
|
|
"plotSEMM"
|
|
|
|
"plsRbeta"
|
|
|
|
"plsRglm"
|
2015-06-16 12:58:58 +02:00
|
|
|
"PopGenReport"
|
2014-11-29 14:13:11 +01:00
|
|
|
"poppr"
|
|
|
|
"powerpkg"
|
2015-06-16 12:58:58 +02:00
|
|
|
"PredictABEL"
|
2014-11-29 14:13:11 +01:00
|
|
|
"prefmod"
|
2015-06-16 12:58:58 +02:00
|
|
|
"PrevMap"
|
|
|
|
"ProbForecastGOP"
|
|
|
|
"QCAGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"qtbase"
|
|
|
|
"qtpaint"
|
|
|
|
"qtutils"
|
2015-06-16 12:58:58 +02:00
|
|
|
"R2STATS"
|
2014-11-29 14:13:11 +01:00
|
|
|
"r4ss"
|
2015-06-16 12:58:58 +02:00
|
|
|
"RandomFields"
|
2014-11-29 14:13:11 +01:00
|
|
|
"rareNMtests"
|
2015-06-16 12:58:58 +02:00
|
|
|
"rAverage"
|
|
|
|
"Rcmdr"
|
|
|
|
"RcmdrPlugin_BCA"
|
|
|
|
"RcmdrPlugin_coin"
|
|
|
|
"RcmdrPlugin_depthTools"
|
|
|
|
"RcmdrPlugin_DoE"
|
|
|
|
"RcmdrPlugin_doex"
|
|
|
|
"RcmdrPlugin_EACSPIR"
|
|
|
|
"RcmdrPlugin_EBM"
|
|
|
|
"RcmdrPlugin_EcoVirtual"
|
|
|
|
"RcmdrPlugin_epack"
|
|
|
|
"RcmdrPlugin_EZR"
|
|
|
|
"RcmdrPlugin_FactoMineR"
|
|
|
|
"RcmdrPlugin_HH"
|
|
|
|
"RcmdrPlugin_IPSUR"
|
|
|
|
"RcmdrPlugin_KMggplot2"
|
|
|
|
"RcmdrPlugin_lfstat"
|
|
|
|
"RcmdrPlugin_MA"
|
|
|
|
"RcmdrPlugin_mosaic"
|
|
|
|
"RcmdrPlugin_MPAStats"
|
|
|
|
"RcmdrPlugin_orloca"
|
|
|
|
"RcmdrPlugin_plotByGroup"
|
|
|
|
"RcmdrPlugin_pointG"
|
|
|
|
"RcmdrPlugin_qual"
|
|
|
|
"RcmdrPlugin_ROC"
|
|
|
|
"RcmdrPlugin_sampling"
|
|
|
|
"RcmdrPlugin_SCDA"
|
|
|
|
"RcmdrPlugin_SLC"
|
|
|
|
"RcmdrPlugin_SM"
|
|
|
|
"RcmdrPlugin_sos"
|
|
|
|
"RcmdrPlugin_steepness"
|
|
|
|
"RcmdrPlugin_survival"
|
|
|
|
"RcmdrPlugin_TeachingDemos"
|
|
|
|
"RcmdrPlugin_temis"
|
|
|
|
"RcmdrPlugin_UCA"
|
2014-11-29 14:13:11 +01:00
|
|
|
"recluster"
|
|
|
|
"relax"
|
|
|
|
"relimp"
|
2015-06-16 12:58:58 +02:00
|
|
|
"RenextGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"reportRx"
|
|
|
|
"reshapeGUI"
|
|
|
|
"rgl"
|
2015-06-16 12:58:58 +02:00
|
|
|
"RHRV"
|
2014-11-29 14:13:11 +01:00
|
|
|
"rich"
|
|
|
|
"rioja"
|
|
|
|
"ripa"
|
|
|
|
"rite"
|
2015-06-16 12:58:58 +02:00
|
|
|
"RNCEP"
|
|
|
|
"RQDA"
|
|
|
|
"RSDA"
|
2014-11-29 14:13:11 +01:00
|
|
|
"rsgcc"
|
2015-06-16 12:58:58 +02:00
|
|
|
"RSurvey"
|
|
|
|
"RunuranGUI"
|
2014-11-29 14:13:11 +01:00
|
|
|
"sharpshootR"
|
|
|
|
"simba"
|
2015-06-16 12:58:58 +02:00
|
|
|
"Simile"
|
|
|
|
"SimpleTable"
|
|
|
|
"SOLOMON"
|
2014-11-29 14:13:11 +01:00
|
|
|
"soundecology"
|
2015-06-16 12:58:58 +02:00
|
|
|
"SPACECAP"
|
2014-11-29 14:13:11 +01:00
|
|
|
"spacodiR"
|
|
|
|
"spatsurv"
|
|
|
|
"sqldf"
|
2015-06-16 12:58:58 +02:00
|
|
|
"SRRS"
|
|
|
|
"SSDforR"
|
2014-11-29 14:13:11 +01:00
|
|
|
"statcheck"
|
2015-06-16 12:58:58 +02:00
|
|
|
"StatDA"
|
|
|
|
"STEPCAM"
|
2014-11-29 14:13:11 +01:00
|
|
|
"stosim"
|
|
|
|
"strvalidator"
|
|
|
|
"stylo"
|
|
|
|
"svDialogstcltk"
|
|
|
|
"svIDE"
|
|
|
|
"svSocket"
|
|
|
|
"svWidgets"
|
2015-06-16 12:58:58 +02:00
|
|
|
"SYNCSA"
|
|
|
|
"SyNet"
|
2014-11-29 14:13:11 +01:00
|
|
|
"tcltk2"
|
2015-06-16 12:58:58 +02:00
|
|
|
"TED"
|
|
|
|
"TestScorer"
|
|
|
|
"TIMP"
|
2014-11-29 14:13:11 +01:00
|
|
|
"titan"
|
|
|
|
"tkrgl"
|
|
|
|
"tkrplot"
|
|
|
|
"tmap"
|
|
|
|
"tspmeta"
|
2015-06-16 12:58:58 +02:00
|
|
|
"TTAinterfaceTrendAnalysis"
|
2014-11-29 14:13:11 +01:00
|
|
|
"twiddler"
|
|
|
|
"vcdExtra"
|
2015-06-16 12:58:58 +02:00
|
|
|
"VecStatGraphs3D"
|
2014-11-29 14:13:11 +01:00
|
|
|
"vegan"
|
|
|
|
"vegan3d"
|
|
|
|
"vegclust"
|
2015-06-16 12:58:58 +02:00
|
|
|
"VIMGUI"
|
|
|
|
"WMCapacity"
|
2014-11-29 14:13:11 +01:00
|
|
|
"x12GUI"
|
|
|
|
"xergm"
|
|
|
|
];
|
|
|
|
|
|
|
|
packagesToSkipCheck = [
|
2017-07-01 10:12:30 +02:00
|
|
|
"Rmpi" # tries to run MPI processes
|
|
|
|
"gmatrix" # requires CUDA runtime
|
2017-02-28 15:20:27 +01:00
|
|
|
"gputools" # requires CUDA runtime
|
2017-07-01 10:12:30 +02:00
|
|
|
"sprint" # tries to run MPI processes
|
|
|
|
"pbdMPI" # tries to run MPI processes
|
2014-11-29 14:13:11 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# Packages which cannot be installed due to lack of dependencies or other reasons.
|
2015-02-22 17:45:12 +01:00
|
|
|
brokenPackages = [
|
2017-07-01 10:12:30 +02:00
|
|
|
"gputools" # depends on non-free cudatoolkit-8.0.61
|
|
|
|
"gmatrix" # depends on non-free cudatoolkit-8.0.61
|
2014-11-29 14:13:11 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
otherOverrides = old: new: {
|
2015-07-22 13:42:23 +02:00
|
|
|
stringi = old.stringi.overrideDerivation (attrs: {
|
|
|
|
postInstall = let
|
|
|
|
icuName = "icudt52l";
|
|
|
|
icuSrc = pkgs.fetchzip {
|
|
|
|
url = "http://static.rexamine.com/packages/${icuName}.zip";
|
|
|
|
sha256 = "0hvazpizziq5ibc9017i1bb45yryfl26wzfsv05vk9mc1575r6xj";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
in ''
|
|
|
|
${attrs.postInstall or ""}
|
|
|
|
cp ${icuSrc}/${icuName}.dat $out/library/stringi/libs
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2015-05-15 13:47:27 +02:00
|
|
|
xml2 = old.xml2.overrideDerivation (attrs: {
|
2015-10-12 10:02:48 +02:00
|
|
|
preConfigure = ''
|
2015-11-20 14:32:58 +01:00
|
|
|
export LIBXML_INCDIR=${pkgs.libxml2.dev}/include/libxml2
|
2015-10-12 10:02:48 +02:00
|
|
|
patchShebangs configure
|
|
|
|
'';
|
2015-05-15 13:47:27 +02:00
|
|
|
});
|
|
|
|
|
2017-01-06 17:11:23 +01:00
|
|
|
Cairo = old.Cairo.overrideDerivation (attrs: {
|
|
|
|
NIX_LDFLAGS = "-lfontconfig";
|
|
|
|
});
|
|
|
|
|
2015-01-26 10:04:48 +01:00
|
|
|
curl = old.curl.overrideDerivation (attrs: {
|
2015-09-09 20:29:20 +02:00
|
|
|
preConfigure = "patchShebangs configure";
|
2015-01-26 10:04:48 +01:00
|
|
|
});
|
|
|
|
|
2014-11-29 14:13:11 +01: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: {
|
2015-06-09 18:47:12 +02:00
|
|
|
PKG_LIBS = "-L${pkgs.openblasCompat}/lib -lopenblas";
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
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 = [
|
2016-04-16 19:40:40 +02:00
|
|
|
"--with-mpfr-include=${pkgs.mpfr.dev}/include"
|
2014-11-29 14:13:11 +01:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RVowpalWabbit = old.RVowpalWabbit.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
2016-04-27 23:41:28 +02:00
|
|
|
"--with-boost=${pkgs.boost.dev}" "--with-boost-libdir=${pkgs.boost.out}/lib"
|
2014-11-29 14:13:11 +01:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RAppArmor = old.RAppArmor.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/RAppArmor.patch ];
|
2015-03-19 14:14:28 +01:00
|
|
|
LIBAPPARMOR_HOME = "${pkgs.libapparmor}";
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
RMySQL = old.RMySQL.overrideDerivation (attrs: {
|
2015-02-19 21:53:36 +01:00
|
|
|
patches = [ ./patches/RMySQL.patch ];
|
2015-04-02 01:52:38 +02:00
|
|
|
MYSQL_DIR="${pkgs.mysql.lib}";
|
2015-02-19 21:53:36 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
devEMF = old.devEMF.overrideDerivation (attrs: {
|
2016-01-24 08:29:53 +01:00
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.xorg.libXft.out}/lib -lXft";
|
2017-01-06 17:58:58 +01:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
slfm = old.slfm.overrideDerivation (attrs: {
|
2015-06-09 18:47:26 +02:00
|
|
|
PKG_LIBS = "-L${pkgs.openblasCompat}/lib -lopenblas";
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
SamplerCompare = old.SamplerCompare.overrideDerivation (attrs: {
|
2015-06-09 18:47:40 +02:00
|
|
|
PKG_LIBS = "-L${pkgs.openblasCompat}/lib -lopenblas";
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
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 ];
|
2015-06-09 18:43:00 +02:00
|
|
|
buildInputs = (attrs.buildInputs or []) ++ [ pkgs.openblasCompat ];
|
2014-11-29 14:13:11 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
BayesBridge = old.BayesBridge.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/BayesBridge.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
openssl = old.openssl.overrideDerivation (attrs: {
|
2016-04-16 19:44:32 +02:00
|
|
|
OPENSSL_INCLUDES = "${pkgs.openssl.dev}/include";
|
2014-11-29 14:13:11 +01: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 14:48:51 +01:00
|
|
|
|
2015-06-16 12:58:58 +02:00
|
|
|
V8 = old.V8.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "export V8_INCLUDES=${pkgs.v8}/include";
|
|
|
|
});
|
|
|
|
|
2014-11-29 14:13:11 +01:00
|
|
|
};
|
2014-12-01 14:06:35 +01:00
|
|
|
in
|
|
|
|
self
|