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
|
2017-12-27 20:26:36 +00:00
|
|
|
inherit (pkgs) cacert fetchurl stdenv lib;
|
2014-12-01 13:06:35 +00:00
|
|
|
|
2015-06-29 00:42:31 +00:00
|
|
|
buildRPackage = pkgs.callPackage ./generic-builder.nix {
|
|
|
|
inherit R;
|
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa Foundation;
|
2016-04-19 21:46:35 +00:00
|
|
|
inherit (pkgs) gettext gfortran;
|
2015-06-29 00:42:31 +00:00
|
|
|
};
|
2014-12-01 13:06:35 +00:00
|
|
|
|
2015-05-23 00:51:24 +00:00
|
|
|
# Generates package templates given per-repository settings
|
2014-12-01 13:06:35 +00:00
|
|
|
#
|
|
|
|
# some packages, e.g. cncaGUI, require X running while installation,
|
|
|
|
# so that we use xvfb-run if requireX is true.
|
2015-11-24 13:59:04 +00:00
|
|
|
mkDerive = {mkHomepage, mkUrls}: args:
|
|
|
|
lib.makeOverridable ({
|
2014-12-01 13:06:35 +00:00
|
|
|
name, version, sha256,
|
|
|
|
depends ? [],
|
|
|
|
doCheck ? true,
|
|
|
|
requireX ? false,
|
|
|
|
broken ? false,
|
2021-10-01 04:20:00 +00:00
|
|
|
hydraPlatforms ? R.meta.platforms
|
2014-12-01 13:06:35 +00:00
|
|
|
}: buildRPackage {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit sha256;
|
2015-11-24 13:59:04 +00:00
|
|
|
urls = mkUrls (args // { inherit name version; });
|
2014-12-01 13:06:35 +00:00
|
|
|
};
|
|
|
|
inherit doCheck requireX;
|
|
|
|
propagatedBuildInputs = depends;
|
|
|
|
nativeBuildInputs = depends;
|
2015-11-24 13:59:04 +00:00
|
|
|
meta.homepage = mkHomepage (args // { inherit 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;
|
|
|
|
});
|
|
|
|
|
2017-03-04 20:50:20 +00:00
|
|
|
# Templates for generating Bioconductor and CRAN packages
|
2015-05-23 00:51:24 +00:00
|
|
|
# from the name, version, sha256, and optional per-package arguments above
|
|
|
|
#
|
|
|
|
deriveBioc = mkDerive {
|
2018-08-04 06:19:08 +00:00
|
|
|
mkHomepage = {name, biocVersion, ...}: "https://bioconductor.org/packages/${biocVersion}/bioc/html/${name}.html";
|
2021-09-15 01:17:41 +00:00
|
|
|
mkUrls = {name, version, biocVersion}: [
|
|
|
|
"mirror://bioc/${biocVersion}/bioc/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
"mirror://bioc/${biocVersion}/bioc/src/contrib/Archive/${name}/${name}_${version}.tar.gz"
|
|
|
|
"mirror://bioc/${biocVersion}/bioc/src/contrib/Archive/${name}_${version}.tar.gz"
|
|
|
|
];
|
2015-05-23 00:51:24 +00:00
|
|
|
};
|
2016-03-23 05:40:47 +00:00
|
|
|
deriveBiocAnn = mkDerive {
|
2018-08-04 06:19:08 +00:00
|
|
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
2021-09-15 01:17:41 +00:00
|
|
|
mkUrls = {name, version, biocVersion}: [
|
|
|
|
"mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
];
|
2016-03-23 05:40:47 +00:00
|
|
|
};
|
|
|
|
deriveBiocExp = mkDerive {
|
2018-08-04 06:19:08 +00:00
|
|
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
2021-09-15 01:17:41 +00:00
|
|
|
mkUrls = {name, version, biocVersion}: [
|
|
|
|
"mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
];
|
2016-03-23 05:40:47 +00:00
|
|
|
};
|
2015-05-23 00:51:24 +00:00
|
|
|
deriveCran = mkDerive {
|
2018-08-04 06:19:08 +00:00
|
|
|
mkHomepage = {name, snapshot, ...}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/";
|
2021-09-15 01:17:41 +00:00
|
|
|
mkUrls = {name, version, snapshot}: [
|
|
|
|
"http://mran.revolutionanalytics.com/snapshot/${snapshot}/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
];
|
2015-05-23 00:51:24 +00:00
|
|
|
};
|
|
|
|
|
2014-12-01 13:06:35 +00: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 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;
|
|
|
|
|
2021-10-11 07:23:42 +00:00
|
|
|
# Overrides package definition requiring a home directory to install or to
|
|
|
|
# run tests.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideRequireHome [
|
|
|
|
# "foo"
|
|
|
|
# ] old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.overrideAttrs (oldAttrs: {
|
|
|
|
# preInstall = ''
|
|
|
|
# ${oldAttrs.preInstall or ""}
|
|
|
|
# export HOME=$(mktemp -d)
|
|
|
|
# '';
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideRequireHome = packageNames: old:
|
|
|
|
let
|
|
|
|
nameValuePairs = map (name: {
|
|
|
|
inherit name;
|
|
|
|
value = (builtins.getAttr name old).overrideAttrs (oldAttrs: {
|
|
|
|
preInstall = ''
|
|
|
|
${oldAttrs.preInstall or ""}
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
}) packageNames;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs nameValuePairs;
|
|
|
|
|
2014-12-01 13:06:35 +00:00
|
|
|
# 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
|
2021-10-11 07:23:42 +00:00
|
|
|
old1 = old0 // (overrideRequireX packagesRequiringX old0);
|
|
|
|
old2 = old1 // (overrideRequireHome packagesRequiringHome old1);
|
|
|
|
old3 = old2 // (overrideSkipCheck packagesToSkipCheck old2);
|
|
|
|
old4 = old3 // (overrideRDepends packagesWithRDepends old3);
|
|
|
|
old5 = old4 // (overrideNativeBuildInputs packagesWithNativeBuildInputs old4);
|
|
|
|
old6 = old5 // (overrideBuildInputs packagesWithBuildInputs old5);
|
|
|
|
old7 = old6 // (overrideBroken brokenPackages old6);
|
|
|
|
old = old7;
|
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;
|
2018-08-02 15:50:58 +00:00
|
|
|
_self = { inherit buildRPackage; } //
|
|
|
|
import ./bioc-packages.nix { inherit self; derive = deriveBioc; } //
|
2016-03-23 05:40:47 +00:00
|
|
|
import ./bioc-annotation-packages.nix { inherit self; derive = deriveBiocAnn; } //
|
|
|
|
import ./bioc-experiment-packages.nix { inherit self; derive = deriveBiocExp; } //
|
2017-03-04 20:50:20 +00:00
|
|
|
import ./cran-packages.nix { inherit self; derive = deriveCran; };
|
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-06-16 10:06:07 +00:00
|
|
|
pander = [ self.codetools ];
|
2015-02-19 20:51:24 +00:00
|
|
|
};
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
packagesWithNativeBuildInputs = {
|
2021-03-16 21:44:57 +00:00
|
|
|
arrow = [ pkgs.pkg-config pkgs.arrow-cpp ];
|
2015-03-06 10:21:21 +00:00
|
|
|
adimpro = [ pkgs.imagemagick ];
|
2018-02-15 05:22:52 +00:00
|
|
|
animation = [ pkgs.which ];
|
2015-03-06 10:21:21 +00:00
|
|
|
audio = [ pkgs.portaudio ];
|
2021-10-07 11:20:08 +00:00
|
|
|
BayesSAE = [ pkgs.gsl ];
|
|
|
|
BayesVarSel = [ pkgs.gsl ];
|
2021-10-25 22:31:32 +00:00
|
|
|
BayesXsrc = with pkgs; [ readline.dev ncurses gsl ];
|
2021-01-10 12:40:19 +00:00
|
|
|
bigGP = [ pkgs.mpi ];
|
2017-02-27 12:51:55 +00:00
|
|
|
bio3d = [ pkgs.zlib ];
|
2015-06-16 10:58:58 +00:00
|
|
|
BiocCheck = [ pkgs.which ];
|
|
|
|
Biostrings = [ pkgs.zlib ];
|
2021-10-07 11:20:08 +00:00
|
|
|
bnpmr = [ pkgs.gsl ];
|
2017-01-06 16:41:42 +00:00
|
|
|
cairoDevice = [ pkgs.gtk2.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
Cairo = with pkgs; [ libtiff libjpeg cairo.dev x11 fontconfig.lib ];
|
2015-06-16 10:58:58 +00:00
|
|
|
Cardinal = [ pkgs.which ];
|
2015-03-06 10:21:21 +00:00
|
|
|
chebpol = [ pkgs.fftw ];
|
2021-06-25 02:33:54 +00:00
|
|
|
ChemmineOB = with pkgs; [ openbabel pkg-config ];
|
2016-09-09 13:12:54 +00:00
|
|
|
curl = [ pkgs.curl.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
data_table = [ pkgs.zlib.dev ] ++ lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp;
|
|
|
|
devEMF = with pkgs; [ xorg.libXft.dev x11 ];
|
2021-10-07 11:20:08 +00:00
|
|
|
diversitree = with pkgs; [ gsl fftw ];
|
2021-06-25 02:33:54 +00:00
|
|
|
exactextractr = [ pkgs.geos ];
|
2020-03-31 14:47:18 +00:00
|
|
|
EMCluster = [ pkgs.lapack ];
|
2017-01-06 17:15:14 +00:00
|
|
|
fftw = [ pkgs.fftw.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
fftwtools = with pkgs; [ fftw.dev pkg-config ];
|
2015-02-19 20:53:36 +00:00
|
|
|
Formula = [ pkgs.gmp ];
|
2021-06-25 02:33:54 +00:00
|
|
|
gdtools = with pkgs; [ cairo.dev fontconfig.lib freetype.dev ];
|
2021-10-11 11:21:25 +00:00
|
|
|
ggiraph = with pkgs; [ pkgs.libpng.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
git2r = with pkgs; [ zlib.dev openssl.dev libssh2.dev libgit2 pkg-config ];
|
2021-10-07 11:20:08 +00:00
|
|
|
GLAD = [ pkgs.gsl ];
|
2021-06-25 02:33:54 +00:00
|
|
|
glpkAPI = with pkgs; [ gmp glpk ];
|
2017-01-06 17:20:41 +00:00
|
|
|
gmp = [ pkgs.gmp.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
graphscan = [ pkgs.gsl ];
|
|
|
|
gsl = [ pkgs.gsl ];
|
2021-01-18 10:49:27 +00:00
|
|
|
gert = [ pkgs.libgit2 ];
|
2021-06-25 02:33:54 +00:00
|
|
|
haven = with pkgs; [ libiconv zlib.dev ];
|
2016-09-27 15:46:06 +00:00
|
|
|
h5vc = [ pkgs.zlib.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
HiCseg = [ pkgs.gsl ];
|
2017-04-20 18:18:01 +00:00
|
|
|
imager = [ pkgs.x11 ];
|
2021-10-07 11:20:08 +00:00
|
|
|
iBMQ = [ pkgs.gsl ];
|
2021-06-25 02:33:54 +00:00
|
|
|
igraph = with pkgs; [ gmp libxml2.dev ];
|
2015-03-06 10:21:21 +00:00
|
|
|
JavaGD = [ pkgs.jdk ];
|
2017-01-06 18:17:19 +00:00
|
|
|
jpeg = [ pkgs.libjpeg.dev ];
|
2018-08-19 22:08:28 +00:00
|
|
|
jqr = [ pkgs.jq.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
KFKSDS = [ pkgs.gsl ];
|
2017-01-06 18:18:27 +00:00
|
|
|
kza = [ pkgs.fftw.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
lpsymphony = with pkgs; [ pkg-config gfortran gettext ];
|
2021-08-24 11:16:51 +00:00
|
|
|
lwgeom = with pkgs; [ proj geos gdal ];
|
2017-10-21 01:22:52 +00:00
|
|
|
magick = [ pkgs.imagemagick.dev ];
|
2019-10-31 00:00:25 +00:00
|
|
|
ModelMetrics = lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp;
|
2021-10-07 11:20:08 +00:00
|
|
|
mvabund = [ pkgs.gsl ];
|
2017-01-06 18:19:27 +00:00
|
|
|
mwaved = [ pkgs.fftw.dev ];
|
2021-10-13 04:32:30 +00:00
|
|
|
mzR = with pkgs; [ zlib boost159.dev netcdf ];
|
2014-11-29 13:13:11 +00:00
|
|
|
ncdf4 = [ pkgs.netcdf ];
|
2021-06-25 02:33:54 +00:00
|
|
|
nloptr = with pkgs; [ nlopt pkg-config ];
|
2020-07-21 11:02:37 +00:00
|
|
|
n1qn1 = [ pkgs.gfortran ];
|
2017-10-21 01:22:52 +00:00
|
|
|
odbc = [ pkgs.unixODBC ];
|
2021-06-25 02:33:54 +00:00
|
|
|
pander = with pkgs; [ pandoc which ];
|
2021-01-10 12:40:19 +00:00
|
|
|
pbdMPI = [ pkgs.mpi ];
|
|
|
|
pbdPROF = [ pkgs.mpi ];
|
2018-02-09 04:34:19 +00:00
|
|
|
pbdZMQ = lib.optionals stdenv.isDarwin [ pkgs.which ];
|
2017-10-21 01:22:52 +00:00
|
|
|
pdftools = [ pkgs.poppler.dev ];
|
2019-03-06 10:39:48 +00:00
|
|
|
phytools = [ pkgs.which ];
|
2017-01-06 18:23:42 +00:00
|
|
|
PKI = [ pkgs.openssl.dev ];
|
2016-12-12 09:53:10 +00:00
|
|
|
png = [ pkgs.libpng.dev ];
|
2017-10-21 01:22:52 +00:00
|
|
|
protolite = [ pkgs.protobuf ];
|
2021-06-25 02:33:54 +00:00
|
|
|
R2SWF = with pkgs; [ zlib libpng freetype.dev ];
|
2015-03-19 13:14:28 +00:00
|
|
|
RAppArmor = [ pkgs.libapparmor ];
|
2015-06-16 10:29:02 +00:00
|
|
|
rapportools = [ pkgs.which ];
|
2015-06-16 10:58:58 +00:00
|
|
|
rapport = [ pkgs.which ];
|
2017-10-21 01:22:52 +00:00
|
|
|
readxl = [ pkgs.libiconv ];
|
2017-01-06 18:34:30 +00:00
|
|
|
rcdd = [ pkgs.gmp.dev ];
|
2017-01-06 18:35:20 +00:00
|
|
|
RcppCNPy = [ pkgs.zlib.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
RcppGSL = [ pkgs.gsl ];
|
|
|
|
RcppZiggurat = [ pkgs.gsl ];
|
2018-07-11 14:05:56 +00:00
|
|
|
reprex = [ pkgs.which ];
|
2021-06-25 02:33:54 +00:00
|
|
|
rgdal = with pkgs; [ proj.dev gdal ];
|
2015-03-06 10:21:21 +00:00
|
|
|
rgeos = [ pkgs.geos ];
|
|
|
|
Rglpk = [ pkgs.glpk ];
|
2017-01-06 18:51:28 +00:00
|
|
|
RGtk2 = [ pkgs.gtk2.dev ];
|
2016-09-27 15:46:06 +00:00
|
|
|
rhdf5 = [ pkgs.zlib ];
|
2021-06-03 19:29:59 +00:00
|
|
|
Rhdf5lib = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
Rhpc = with pkgs; [ zlib bzip2.dev icu xz.dev mpi pcre.dev ];
|
|
|
|
Rhtslib = with pkgs; [ zlib.dev automake autoconf bzip2.dev xz.dev curl.dev ];
|
2015-03-06 10:21:21 +00:00
|
|
|
rjags = [ pkgs.jags ];
|
2021-06-25 02:33:54 +00:00
|
|
|
rJava = with pkgs; [ zlib bzip2.dev icu xz.dev pcre.dev jdk libzip ];
|
2021-10-07 11:20:08 +00:00
|
|
|
Rlibeemd = [ pkgs.gsl ];
|
2017-01-06 19:01:17 +00:00
|
|
|
rmatio = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
Rmpfr = with pkgs; [ gmp mpfr.dev ];
|
2021-01-10 12:40:19 +00:00
|
|
|
Rmpi = [ pkgs.mpi ];
|
2021-06-25 02:33:54 +00:00
|
|
|
RMySQL = with pkgs; [ zlib libmysqlclient openssl.dev ];
|
|
|
|
RNetCDF = with pkgs; [ netcdf udunits ];
|
2015-03-06 10:21:21 +00:00
|
|
|
RODBC = [ pkgs.libiodbc ];
|
2017-10-21 01:22:52 +00:00
|
|
|
rpanel = [ pkgs.bwidget ];
|
2015-03-06 10:21:21 +00:00
|
|
|
Rpoppler = [ pkgs.poppler ];
|
2021-06-25 02:33:54 +00:00
|
|
|
RPostgreSQL = with pkgs; [ postgresql postgresql ];
|
2015-03-06 10:21:21 +00:00
|
|
|
RProtoBuf = [ pkgs.protobuf ];
|
2017-01-06 19:09:43 +00:00
|
|
|
RSclient = [ pkgs.openssl.dev ];
|
2015-03-06 10:21:21 +00:00
|
|
|
Rserve = [ pkgs.openssl ];
|
2017-01-06 19:13:30 +00:00
|
|
|
Rssa = [ pkgs.fftw.dev ];
|
2021-08-16 23:17:18 +00:00
|
|
|
rsvg = [ pkgs.pkg-config ];
|
2015-03-06 10:21:21 +00:00
|
|
|
runjags = [ pkgs.jags ];
|
2021-06-25 02:33:54 +00:00
|
|
|
RVowpalWabbit = with pkgs; [ zlib.dev boost ];
|
|
|
|
rzmq = with pkgs; [ zeromq pkg-config ];
|
2021-10-04 06:04:02 +00:00
|
|
|
httpuv = [ pkgs.zlib.dev ];
|
2021-01-18 05:30:28 +00:00
|
|
|
clustermq = [ pkgs.zeromq ];
|
2021-06-25 02:33:54 +00:00
|
|
|
SAVE = with pkgs; [ zlib bzip2 icu xz pcre ];
|
|
|
|
sdcTable = with pkgs; [ gmp glpk ];
|
|
|
|
seewave = with pkgs; [ fftw.dev libsndfile.dev ];
|
2017-01-06 19:26:40 +00:00
|
|
|
seqinr = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
seqminer = with pkgs; [ zlib.dev bzip2 ];
|
|
|
|
sf = with pkgs; [ gdal proj geos ];
|
|
|
|
terra = with pkgs; [ gdal proj geos ];
|
|
|
|
showtext = with pkgs; [ zlib libpng icu freetype.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
simplexreg = [ pkgs.gsl ];
|
2017-01-06 19:30:01 +00:00
|
|
|
spate = [ pkgs.fftw.dev ];
|
2015-03-06 10:21:21 +00:00
|
|
|
ssanv = [ pkgs.proj ];
|
2021-10-07 11:20:08 +00:00
|
|
|
stsm = [ pkgs.gsl ];
|
2016-09-07 22:18:48 +00:00
|
|
|
stringi = [ pkgs.icu.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
survSNP = [ pkgs.gsl ];
|
2021-06-29 08:56:54 +00:00
|
|
|
svglite = [ pkgs.libpng.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
sysfonts = with pkgs; [ zlib libpng freetype.dev ];
|
|
|
|
systemfonts = with pkgs; [ fontconfig.dev freetype.dev ];
|
2017-01-06 19:31:16 +00:00
|
|
|
TAQMNGR = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
tesseract = with pkgs; [ tesseract leptonica ];
|
2017-01-06 19:32:48 +00:00
|
|
|
tiff = [ pkgs.libtiff.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
tkrplot = with pkgs; [ xorg.libX11 tk.dev ];
|
2021-10-07 11:20:08 +00:00
|
|
|
topicmodels = [ pkgs.gsl ];
|
2021-06-25 02:33:54 +00:00
|
|
|
udunits2 = with pkgs; [ udunits expat ];
|
2018-10-08 10:53:07 +00:00
|
|
|
units = [ pkgs.udunits ];
|
2020-01-17 20:56:26 +00:00
|
|
|
V8 = [ pkgs.v8 ];
|
2021-06-25 02:33:54 +00:00
|
|
|
XBRL = with pkgs; [ zlib libxml2.dev ];
|
2018-02-26 01:47:57 +00:00
|
|
|
xml2 = [ pkgs.libxml2.dev ] ++ lib.optionals stdenv.isDarwin [ pkgs.perl ];
|
2021-06-25 02:33:54 +00:00
|
|
|
XML = with pkgs; [ libtool libxml2.dev xmlsec libxslt ];
|
2017-01-06 19:42:00 +00:00
|
|
|
affyPLM = [ pkgs.zlib.dev ];
|
2017-01-06 19:43:55 +00:00
|
|
|
bamsignals = [ pkgs.zlib.dev ];
|
2017-01-06 19:45:14 +00:00
|
|
|
BitSeq = [ pkgs.zlib.dev ];
|
2016-03-24 21:51:21 +00:00
|
|
|
DiffBind = [ pkgs.zlib ];
|
2016-09-27 15:46:06 +00:00
|
|
|
ShortRead = [ pkgs.zlib.dev ];
|
2017-01-06 19:49:49 +00:00
|
|
|
oligo = [ pkgs.zlib.dev ];
|
2017-01-06 19:51:14 +00:00
|
|
|
gmapR = [ pkgs.zlib.dev ];
|
2017-01-06 19:52:16 +00:00
|
|
|
Rsubread = [ pkgs.zlib.dev ];
|
2016-09-27 15:46:06 +00:00
|
|
|
XVector = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
Rsamtools = with pkgs; [ zlib.dev curl.dev ];
|
2017-01-06 19:53:12 +00:00
|
|
|
rtracklayer = [ pkgs.zlib.dev ];
|
2017-01-06 19:47:08 +00:00
|
|
|
affyio = [ pkgs.zlib.dev ];
|
2021-06-25 02:33:54 +00:00
|
|
|
VariantAnnotation = with pkgs; [ zlib.dev curl.dev ];
|
2017-01-06 19:54:40 +00:00
|
|
|
snpStats = [ pkgs.zlib.dev ];
|
2021-06-06 00:12:22 +00:00
|
|
|
hdf5r = [ pkgs.hdf5.dev ];
|
2021-10-24 13:40:18 +00:00
|
|
|
httpgd = with pkgs; [ cairo.dev ];
|
2021-11-01 08:39:52 +00:00
|
|
|
SymTS = [ pkgs.gsl ];
|
|
|
|
VBLPCM = [ pkgs.gsl ];
|
|
|
|
dynr = [ pkgs.gsl ];
|
|
|
|
mixlink = [ pkgs.gsl ];
|
|
|
|
ridge = [ pkgs.gsl ];
|
|
|
|
smam = [ pkgs.gsl ];
|
|
|
|
rnetcarto = [ pkgs.gsl ];
|
|
|
|
rGEDI = [ pkgs.gsl ];
|
|
|
|
mmpca = [ pkgs.gsl ];
|
|
|
|
monoreg = [ pkgs.gsl ];
|
|
|
|
mvst = [ pkgs.gsl ];
|
|
|
|
mixture = [ pkgs.gsl ];
|
|
|
|
jSDM = [ pkgs.gsl ];
|
|
|
|
immunoClust = [ pkgs.gsl ];
|
|
|
|
hSDM = [ pkgs.gsl ];
|
|
|
|
flowPeaks = [ pkgs.gsl ];
|
|
|
|
fRLR = [ pkgs.gsl ];
|
|
|
|
eaf = [ pkgs.gsl ];
|
|
|
|
diseq = [ pkgs.gsl ];
|
|
|
|
cit = [ pkgs.gsl ];
|
|
|
|
abn = [ pkgs.gsl ];
|
|
|
|
SimInf = [ pkgs.gsl ];
|
|
|
|
RJMCMCNucleosomes = [ pkgs.gsl ];
|
|
|
|
RDieHarder = [ pkgs.gsl ];
|
|
|
|
QF = [ pkgs.gsl ];
|
|
|
|
PICS = [ pkgs.gsl ];
|
2021-11-04 10:16:26 +00:00
|
|
|
RcppCWB = [ pkgs.pkg-config ];
|
2021-11-04 10:16:51 +00:00
|
|
|
rrd = [ pkgs.pkg-config ];
|
2021-11-04 10:17:35 +00:00
|
|
|
trackViewer = [ pkgs.zlib.dev ];
|
|
|
|
themetagenomics = [ pkgs.zlib.dev ];
|
|
|
|
NanoMethViz = [ pkgs.zlib.dev ];
|
2014-11-29 13:13:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
packagesWithBuildInputs = {
|
|
|
|
# sort -t '=' -k 2
|
2020-02-07 09:50:43 +00:00
|
|
|
gam = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
2021-05-17 15:40:04 +00:00
|
|
|
RcppArmadillo = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
2020-02-07 09:50:43 +00:00
|
|
|
quantreg = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
|
|
|
rmutil = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
|
|
|
robustbase = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
|
|
|
SparseM = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
2021-01-05 02:20:10 +00:00
|
|
|
hexbin = lib.optionals stdenv.isDarwin [ pkgs.libiconv ];
|
2015-02-19 20:53:36 +00:00
|
|
|
svKomodo = [ pkgs.which ];
|
|
|
|
nat = [ pkgs.which ];
|
|
|
|
nat_templatebrains = [ pkgs.which ];
|
2018-05-11 14:53:10 +00:00
|
|
|
pbdZMQ = lib.optionals stdenv.isDarwin [ pkgs.darwin.binutils ];
|
2021-01-19 06:50:56 +00:00
|
|
|
clustermq = [ pkgs.pkg-config ];
|
2015-02-19 20:53:36 +00:00
|
|
|
RMark = [ pkgs.which ];
|
|
|
|
RPushbullet = [ pkgs.which ];
|
2018-06-20 01:37:00 +00:00
|
|
|
RcppEigen = [ pkgs.libiconv ];
|
2016-09-27 15:46:06 +00:00
|
|
|
RCurl = [ pkgs.curl.dev ];
|
2021-01-19 06:50:56 +00:00
|
|
|
R2SWF = [ pkgs.pkg-config ];
|
2021-06-25 02:33:54 +00:00
|
|
|
rgl = with pkgs; [ libGLU libGLU.dev libGL xlibsWrapper ];
|
2021-01-19 06:50:56 +00:00
|
|
|
RGtk2 = [ pkgs.pkg-config ];
|
|
|
|
RProtoBuf = [ pkgs.pkg-config ];
|
|
|
|
Rpoppler = [ pkgs.pkg-config ];
|
|
|
|
XML = [ pkgs.pkg-config ];
|
|
|
|
cairoDevice = [ pkgs.pkg-config ];
|
|
|
|
chebpol = [ pkgs.pkg-config ];
|
|
|
|
fftw = [ pkgs.pkg-config ];
|
|
|
|
gdtools = [ pkgs.pkg-config ];
|
2018-08-19 22:08:28 +00:00
|
|
|
jqr = [ pkgs.jq.lib ];
|
2021-01-19 06:50:56 +00:00
|
|
|
kza = [ pkgs.pkg-config ];
|
2021-06-25 02:33:54 +00:00
|
|
|
lwgeom = with pkgs; [ pkg-config proj.dev sqlite.dev ];
|
2021-01-19 06:50:56 +00:00
|
|
|
magick = [ pkgs.pkg-config ];
|
|
|
|
mwaved = [ pkgs.pkg-config ];
|
|
|
|
odbc = [ pkgs.pkg-config ];
|
|
|
|
openssl = [ pkgs.pkg-config ];
|
|
|
|
pdftools = [ pkgs.pkg-config ];
|
2021-06-25 02:33:54 +00:00
|
|
|
sf = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
|
|
|
terra = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
2021-01-19 06:50:56 +00:00
|
|
|
showtext = [ pkgs.pkg-config ];
|
|
|
|
spate = [ pkgs.pkg-config ];
|
|
|
|
stringi = [ pkgs.pkg-config ];
|
|
|
|
sysfonts = [ pkgs.pkg-config ];
|
|
|
|
systemfonts = [ pkgs.pkg-config ];
|
|
|
|
tesseract = [ pkgs.pkg-config ];
|
|
|
|
Cairo = [ pkgs.pkg-config ];
|
2020-07-21 11:02:37 +00:00
|
|
|
CLVTools = [ pkgs.gsl ];
|
|
|
|
JMcmprsk = [ pkgs.gsl ];
|
|
|
|
mashr = [ pkgs.gsl ];
|
|
|
|
hadron = [ pkgs.gsl ];
|
|
|
|
AMOUNTAIN = [ pkgs.gsl ];
|
2021-06-25 02:33:54 +00:00
|
|
|
Rsymphony = with pkgs; [ pkg-config doxygen graphviz subversion ];
|
|
|
|
tcltk2 = with pkgs; [ tcl tk ];
|
|
|
|
tikzDevice = with pkgs; [ which texlive.combined.scheme-medium ];
|
2015-02-19 20:53:36 +00:00
|
|
|
gridGraphics = [ pkgs.which ];
|
2021-06-25 02:33:54 +00:00
|
|
|
adimpro = with pkgs; [ which xorg.xdpyinfo ];
|
2018-06-06 21:57:08 +00:00
|
|
|
cluster = [ pkgs.libiconv ];
|
2018-06-06 21:58:15 +00:00
|
|
|
KernSmooth = [ pkgs.libiconv ];
|
2018-06-06 21:59:09 +00:00
|
|
|
nlme = [ pkgs.libiconv ];
|
2018-06-06 22:00:07 +00:00
|
|
|
Matrix = [ pkgs.libiconv ];
|
2018-06-06 22:00:42 +00:00
|
|
|
mgcv = [ pkgs.libiconv ];
|
2019-09-23 23:06:26 +00:00
|
|
|
minqa = [ pkgs.libiconv ];
|
2018-06-20 02:08:29 +00:00
|
|
|
igraph = [ pkgs.libiconv ];
|
2019-03-28 03:11:47 +00:00
|
|
|
ape = [ pkgs.libiconv ];
|
|
|
|
expm = [ pkgs.libiconv ];
|
|
|
|
mnormt = [ pkgs.libiconv ];
|
2019-09-23 22:59:04 +00:00
|
|
|
pan = [ pkgs.libiconv ];
|
2019-03-28 03:11:47 +00:00
|
|
|
phangorn = [ pkgs.libiconv ];
|
|
|
|
quadprog = [ pkgs.libiconv ];
|
2019-09-23 22:23:25 +00:00
|
|
|
randomForest = [ pkgs.libiconv ];
|
2019-08-06 12:41:47 +00:00
|
|
|
sundialr = [ pkgs.libiconv ];
|
2019-09-24 00:36:22 +00:00
|
|
|
ucminf = [ pkgs.libiconv ];
|
2019-10-31 22:12:23 +00:00
|
|
|
glmnet = [ pkgs.libiconv ];
|
2020-03-13 17:23:38 +00:00
|
|
|
mvtnorm = [ pkgs.libiconv ];
|
2020-05-15 03:00:58 +00:00
|
|
|
statmod = [ pkgs.libiconv ];
|
2021-08-16 23:17:18 +00:00
|
|
|
rsvg = [ pkgs.librsvg.dev ];
|
2021-09-07 01:32:15 +00:00
|
|
|
ssh = with pkgs; [ libssh ];
|
2021-09-24 09:34:20 +00:00
|
|
|
s2 = [ pkgs.openssl.dev ];
|
2021-09-24 22:17:36 +00:00
|
|
|
ArrayExpressHTS = with pkgs; [ zlib.dev curl.dev which ];
|
2021-09-25 13:14:47 +00:00
|
|
|
bbl = with pkgs; [ gsl ];
|
2021-09-25 21:40:36 +00:00
|
|
|
writexl = with pkgs; [ zlib.dev ];
|
2021-09-25 21:48:02 +00:00
|
|
|
qpdf = with pkgs; [ libjpeg.dev zlib.dev ];
|
2021-09-25 23:20:33 +00:00
|
|
|
vcfR = with pkgs; [ zlib.dev ];
|
2021-09-26 02:17:28 +00:00
|
|
|
bio3d = with pkgs; [ zlib.dev ];
|
2021-09-26 08:06:19 +00:00
|
|
|
arrangements = with pkgs; [ gmp.dev ];
|
2021-09-26 08:11:55 +00:00
|
|
|
spp = with pkgs; [ zlib.dev ];
|
2021-09-26 08:15:34 +00:00
|
|
|
Rbowtie = with pkgs; [ zlib.dev ];
|
2021-09-26 11:57:06 +00:00
|
|
|
gaston = with pkgs; [ zlib.dev ];
|
2021-09-26 23:48:24 +00:00
|
|
|
csaw = with pkgs; [ zlib.dev curl ];
|
2021-10-12 19:51:43 +00:00
|
|
|
DirichletMultinomial = with pkgs; [ gsl ];
|
2021-10-12 19:56:35 +00:00
|
|
|
DiffBind = with pkgs; [ zlib.dev ];
|
2021-10-12 20:02:08 +00:00
|
|
|
CNEr = with pkgs; [ zlib ];
|
2021-10-25 02:46:43 +00:00
|
|
|
GMMAT = with pkgs; [ zlib.dev bzip2.dev ];
|
|
|
|
HiCDCPlus = [ pkgs.zlib.dev ];
|
|
|
|
PopGenome = [ pkgs.zlib.dev ];
|
|
|
|
QuasR = [ pkgs.zlib.dev ];
|
|
|
|
Rbowtie2 = [ pkgs.zlib.dev ];
|
|
|
|
Rmmquant = [ pkgs.zlib.dev ];
|
|
|
|
SICtools = with pkgs; [ zlib.dev ncurses.dev ];
|
|
|
|
Signac = [ pkgs.zlib.dev ];
|
|
|
|
TransView = [ pkgs.zlib.dev ];
|
|
|
|
bigsnpr = [ pkgs.zlib.dev ];
|
|
|
|
divest = [ pkgs.zlib.dev ];
|
|
|
|
hipread = [ pkgs.zlib.dev ];
|
|
|
|
jackalope = with pkgs; [ zlib.dev xz.dev ];
|
|
|
|
largeList = [ pkgs.zlib.dev ];
|
|
|
|
mappoly = [ pkgs.zlib.dev ];
|
|
|
|
matchingMarkets = [ pkgs.zlib.dev ];
|
|
|
|
methylKit = [ pkgs.zlib.dev ];
|
|
|
|
ndjson = [ pkgs.zlib.dev ];
|
|
|
|
podkat = [ pkgs.zlib.dev ];
|
|
|
|
qrqc = [ pkgs.zlib.dev ];
|
|
|
|
rJPSGCS = [ pkgs.zlib.dev ];
|
|
|
|
rhdf5filters = [ pkgs.zlib.dev ];
|
|
|
|
rtk = [ pkgs.zlib.dev ];
|
|
|
|
scPipe = [ pkgs.zlib.dev ];
|
|
|
|
seqTools = [ pkgs.zlib.dev ];
|
|
|
|
seqbias = [ pkgs.zlib.dev ];
|
|
|
|
sparkwarc = [ pkgs.zlib.dev ];
|
2021-11-01 06:44:53 +00:00
|
|
|
RoBMA = [ pkgs.jags ];
|
2021-11-01 08:39:52 +00:00
|
|
|
rGEDI = with pkgs; [ libgeotiff.dev libaec zlib.dev hdf5.dev ];
|
2021-11-03 22:29:41 +00:00
|
|
|
rawrr = [ pkgs.mono ];
|
2021-11-03 22:29:55 +00:00
|
|
|
HDF5Array = [ pkgs.zlib.dev ];
|
|
|
|
FLAMES = [ pkgs.zlib.dev ];
|
|
|
|
ncdfFlow = [ pkgs.zlib.dev ];
|
2021-11-03 22:30:11 +00:00
|
|
|
proj4 = [ pkgs.proj.dev ];
|
2021-11-04 05:04:03 +00:00
|
|
|
rtmpt = [ pkgs.gsl ];
|
|
|
|
mixcat = [ pkgs.gsl ];
|
|
|
|
libstableR = [ pkgs.gsl ];
|
|
|
|
landsepi = [ pkgs.gsl ];
|
|
|
|
flan = [ pkgs.gsl ];
|
|
|
|
econetwork = [ pkgs.gsl ];
|
|
|
|
crandep = [ pkgs.gsl ];
|
|
|
|
catSurv = [ pkgs.gsl ];
|
|
|
|
ccfindR = [ pkgs.gsl ];
|
|
|
|
SPARSEMODr = [ pkgs.gsl ];
|
|
|
|
RKHSMetaMod = [ pkgs.gsl ];
|
|
|
|
LCMCR = [ pkgs.gsl ];
|
|
|
|
BNSP = [ pkgs.gsl ];
|
2021-11-04 05:39:04 +00:00
|
|
|
scModels = [ pkgs.mpfr.dev ];
|
|
|
|
multibridge = [ pkgs.mpfr.dev ];
|
2021-11-04 10:16:26 +00:00
|
|
|
RcppCWB = with pkgs; [ pcre.dev glib.dev ];
|
2021-11-04 10:18:05 +00:00
|
|
|
RmecabKo = [ pkgs.mecab ];
|
2021-11-04 10:18:21 +00:00
|
|
|
PoissonBinomial = [ pkgs.fftw.dev ];
|
2021-11-04 10:16:51 +00:00
|
|
|
rrd = [ pkgs.rrdtool ];
|
2014-11-29 13:13:11 +00:00
|
|
|
};
|
|
|
|
|
2021-10-11 07:23:42 +00:00
|
|
|
packagesRequiringX = [
|
2014-11-29 13:13:11 +00:00
|
|
|
"accrual"
|
|
|
|
"ade4TkGUI"
|
|
|
|
"analogue"
|
|
|
|
"analogueExtra"
|
2015-06-16 10:58:58 +00:00
|
|
|
"AnalyzeFMRI"
|
|
|
|
"AnnotLists"
|
|
|
|
"AnthropMMD"
|
2014-11-29 13:13:11 +00:00
|
|
|
"aplpack"
|
|
|
|
"asbio"
|
2015-06-16 10:58:58 +00:00
|
|
|
"BAT"
|
|
|
|
"BCA"
|
2014-11-29 13:13:11 +00:00
|
|
|
"betapart"
|
2015-06-16 10:58:58 +00:00
|
|
|
"BiodiversityR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"bio_infer"
|
|
|
|
"bipartite"
|
|
|
|
"biplotbootGUI"
|
|
|
|
"blender"
|
|
|
|
"cairoDevice"
|
2015-06-16 10:58:58 +00:00
|
|
|
"CCTpack"
|
2014-11-29 13:13:11 +00:00
|
|
|
"cncaGUI"
|
|
|
|
"cocorresp"
|
2015-06-16 10:58:58 +00:00
|
|
|
"CommunityCorrelogram"
|
2014-11-29 13:13:11 +00:00
|
|
|
"confidence"
|
|
|
|
"constrainedKriging"
|
2015-06-16 10:58:58 +00:00
|
|
|
"ConvergenceConcepts"
|
2014-11-29 13:13:11 +00:00
|
|
|
"cpa"
|
2015-06-16 10:58:58 +00:00
|
|
|
"DALY"
|
2014-11-29 13:13:11 +00:00
|
|
|
"dave"
|
2015-06-16 10:58:58 +00:00
|
|
|
"Deducer"
|
|
|
|
"DeducerPlugInExample"
|
|
|
|
"DeducerPlugInScaling"
|
|
|
|
"DeducerSpatial"
|
|
|
|
"DeducerSurvival"
|
|
|
|
"DeducerText"
|
|
|
|
"Demerelate"
|
2014-11-29 13:13:11 +00:00
|
|
|
"detrendeR"
|
|
|
|
"dpa"
|
|
|
|
"dynamicGraph"
|
2015-06-16 10:58:58 +00:00
|
|
|
"dynBiplotGUI"
|
|
|
|
"EasyqpcR"
|
|
|
|
"EcoVirtual"
|
2014-11-29 13:13:11 +00:00
|
|
|
"exactLoglinTest"
|
|
|
|
"fat2Lpoly"
|
|
|
|
"fbati"
|
2015-06-16 10:58:58 +00:00
|
|
|
"FD"
|
2014-11-29 13:13:11 +00:00
|
|
|
"feature"
|
2015-06-16 10:58:58 +00:00
|
|
|
"FeedbackTS"
|
|
|
|
"FFD"
|
2014-11-29 13:13:11 +00:00
|
|
|
"fgui"
|
|
|
|
"fisheyeR"
|
|
|
|
"forams"
|
|
|
|
"forensim"
|
2015-06-16 10:58:58 +00:00
|
|
|
"FreeSortR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"fscaret"
|
|
|
|
"gcmr"
|
2015-06-16 10:58:58 +00:00
|
|
|
"geomorph"
|
2014-11-29 13:13:11 +00:00
|
|
|
"geoR"
|
|
|
|
"georob"
|
2015-06-16 10:58:58 +00:00
|
|
|
"GGEBiplotGUI"
|
2014-11-29 13:13:11 +00:00
|
|
|
"gnm"
|
2015-06-16 10:58:58 +00:00
|
|
|
"GrapheR"
|
|
|
|
"GroupSeq"
|
2014-11-29 13:13:11 +00:00
|
|
|
"gsubfn"
|
2015-06-16 10:58:58 +00:00
|
|
|
"GUniFrac"
|
|
|
|
"gWidgets2RGtk2"
|
|
|
|
"gWidgets2tcltk"
|
|
|
|
"HH"
|
|
|
|
"HiveR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"ic50"
|
2015-06-16 10:58:58 +00:00
|
|
|
"iDynoR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"in2extRemes"
|
|
|
|
"iplots"
|
|
|
|
"isopam"
|
2015-06-16 10:58:58 +00:00
|
|
|
"IsotopeR"
|
|
|
|
"JGR"
|
|
|
|
"KappaGUI"
|
2014-11-29 13:13:11 +00:00
|
|
|
"likeLTD"
|
|
|
|
"logmult"
|
2021-09-26 08:10:12 +00:00
|
|
|
"loon"
|
2015-06-16 10:58:58 +00:00
|
|
|
"LS2Wstat"
|
|
|
|
"MareyMap"
|
2014-11-29 13:13:11 +00:00
|
|
|
"memgene"
|
|
|
|
"metacom"
|
2015-06-16 10:58:58 +00:00
|
|
|
"Meth27QC"
|
2014-11-29 13:13:11 +00:00
|
|
|
"migui"
|
|
|
|
"miniGUI"
|
|
|
|
"mixsep"
|
2015-06-16 10:58:58 +00:00
|
|
|
"MplusAutomation"
|
2014-11-29 13:13:11 +00:00
|
|
|
"mpmcorrelogram"
|
|
|
|
"mritc"
|
|
|
|
"multgee"
|
|
|
|
"multibiplotGUI"
|
2015-06-16 10:58:58 +00:00
|
|
|
"OligoSpecificitySystem"
|
2014-11-29 13:13:11 +00:00
|
|
|
"onemap"
|
2015-06-16 10:58:58 +00:00
|
|
|
"OpenRepGrid"
|
2014-11-29 13:13:11 +00:00
|
|
|
"paleoMAS"
|
|
|
|
"pbatR"
|
2015-06-16 10:58:58 +00:00
|
|
|
"PBSadmb"
|
|
|
|
"PBSmodelling"
|
|
|
|
"PCPS"
|
2014-11-29 13:13:11 +00:00
|
|
|
"pez"
|
|
|
|
"phylotools"
|
|
|
|
"picante"
|
|
|
|
"plotSEMM"
|
|
|
|
"plsRbeta"
|
|
|
|
"plsRglm"
|
2015-06-16 10:58:58 +00:00
|
|
|
"PopGenReport"
|
2014-11-29 13:13:11 +00:00
|
|
|
"poppr"
|
|
|
|
"powerpkg"
|
2015-06-16 10:58:58 +00:00
|
|
|
"PredictABEL"
|
2014-11-29 13:13:11 +00:00
|
|
|
"prefmod"
|
2015-06-16 10:58:58 +00:00
|
|
|
"PrevMap"
|
2014-11-29 13:13:11 +00:00
|
|
|
"r4ss"
|
2015-06-16 10:58:58 +00:00
|
|
|
"RandomFields"
|
2014-11-29 13:13:11 +00:00
|
|
|
"rareNMtests"
|
2015-06-16 10:58:58 +00:00
|
|
|
"rAverage"
|
2021-09-07 06:34:43 +00:00
|
|
|
"RclusTool"
|
2015-06-16 10:58:58 +00:00
|
|
|
"Rcmdr"
|
|
|
|
"RcmdrPlugin_coin"
|
|
|
|
"RcmdrPlugin_depthTools"
|
|
|
|
"RcmdrPlugin_DoE"
|
|
|
|
"RcmdrPlugin_EACSPIR"
|
|
|
|
"RcmdrPlugin_EBM"
|
|
|
|
"RcmdrPlugin_EcoVirtual"
|
|
|
|
"RcmdrPlugin_EZR"
|
|
|
|
"RcmdrPlugin_FactoMineR"
|
|
|
|
"RcmdrPlugin_HH"
|
|
|
|
"RcmdrPlugin_IPSUR"
|
|
|
|
"RcmdrPlugin_KMggplot2"
|
|
|
|
"RcmdrPlugin_lfstat"
|
|
|
|
"RcmdrPlugin_MA"
|
|
|
|
"RcmdrPlugin_MPAStats"
|
|
|
|
"RcmdrPlugin_orloca"
|
|
|
|
"RcmdrPlugin_plotByGroup"
|
|
|
|
"RcmdrPlugin_pointG"
|
|
|
|
"RcmdrPlugin_ROC"
|
|
|
|
"RcmdrPlugin_sampling"
|
|
|
|
"RcmdrPlugin_SCDA"
|
|
|
|
"RcmdrPlugin_SLC"
|
|
|
|
"RcmdrPlugin_sos"
|
|
|
|
"RcmdrPlugin_steepness"
|
|
|
|
"RcmdrPlugin_survival"
|
|
|
|
"RcmdrPlugin_TeachingDemos"
|
|
|
|
"RcmdrPlugin_temis"
|
|
|
|
"RcmdrPlugin_UCA"
|
2014-11-29 13:13:11 +00:00
|
|
|
"recluster"
|
|
|
|
"relimp"
|
|
|
|
"rgl"
|
2015-06-16 10:58:58 +00:00
|
|
|
"RHRV"
|
2014-11-29 13:13:11 +00:00
|
|
|
"rich"
|
2015-06-16 10:58:58 +00:00
|
|
|
"RNCEP"
|
|
|
|
"RSDA"
|
|
|
|
"RSurvey"
|
2014-11-29 13:13:11 +00:00
|
|
|
"simba"
|
2015-06-16 10:58:58 +00:00
|
|
|
"Simile"
|
|
|
|
"SimpleTable"
|
|
|
|
"SOLOMON"
|
2014-11-29 13:13:11 +00:00
|
|
|
"soundecology"
|
|
|
|
"spatsurv"
|
|
|
|
"sqldf"
|
2015-06-16 10:58:58 +00:00
|
|
|
"SSDforR"
|
2014-11-29 13:13:11 +00:00
|
|
|
"statcheck"
|
2015-06-16 10:58:58 +00:00
|
|
|
"StatDA"
|
|
|
|
"STEPCAM"
|
2014-11-29 13:13:11 +00:00
|
|
|
"stosim"
|
|
|
|
"strvalidator"
|
|
|
|
"stylo"
|
|
|
|
"svDialogstcltk"
|
|
|
|
"svIDE"
|
|
|
|
"svSocket"
|
|
|
|
"svWidgets"
|
2015-06-16 10:58:58 +00:00
|
|
|
"SYNCSA"
|
|
|
|
"SyNet"
|
2014-11-29 13:13:11 +00:00
|
|
|
"tcltk2"
|
2015-06-16 10:58:58 +00:00
|
|
|
"TestScorer"
|
|
|
|
"TIMP"
|
2014-11-29 13:13:11 +00:00
|
|
|
"tkrplot"
|
|
|
|
"tmap"
|
|
|
|
"tspmeta"
|
2015-06-16 10:58:58 +00:00
|
|
|
"TTAinterfaceTrendAnalysis"
|
2014-11-29 13:13:11 +00:00
|
|
|
"twiddler"
|
|
|
|
"vcdExtra"
|
2015-06-16 10:58:58 +00:00
|
|
|
"VecStatGraphs3D"
|
2014-11-29 13:13:11 +00:00
|
|
|
"vegan"
|
|
|
|
"vegan3d"
|
|
|
|
"vegclust"
|
|
|
|
"x12GUI"
|
|
|
|
];
|
|
|
|
|
2021-10-11 07:23:42 +00:00
|
|
|
packagesRequiringHome = [
|
2021-10-11 21:12:49 +00:00
|
|
|
"aroma_affymetrix"
|
|
|
|
"aroma_cn"
|
|
|
|
"aroma_core"
|
|
|
|
"csodata"
|
|
|
|
"DiceView"
|
|
|
|
"MSnID"
|
2021-10-11 11:11:22 +00:00
|
|
|
"OmnipathR"
|
2021-10-11 21:12:49 +00:00
|
|
|
"precommit"
|
|
|
|
"PSCBS"
|
|
|
|
"repmis"
|
2021-10-11 21:18:04 +00:00
|
|
|
"R_cache"
|
2021-10-11 21:12:49 +00:00
|
|
|
"R_filesets"
|
|
|
|
"RKorAPClient"
|
|
|
|
"R_rsp"
|
|
|
|
"scholar"
|
|
|
|
"stepR"
|
|
|
|
"styler"
|
|
|
|
"TreeTools"
|
2021-10-24 22:38:27 +00:00
|
|
|
"ACNE"
|
|
|
|
"APAlyzer"
|
|
|
|
"EstMix"
|
|
|
|
"PECA"
|
|
|
|
"Quartet"
|
|
|
|
"ShinyQuickStarter"
|
|
|
|
"TIN"
|
|
|
|
"TotalCopheneticIndex"
|
|
|
|
"TreeDist"
|
|
|
|
"biocthis"
|
|
|
|
"calmate"
|
|
|
|
"fgga"
|
|
|
|
"fulltext"
|
|
|
|
"immuneSIM"
|
|
|
|
"mastif"
|
|
|
|
"shinymeta"
|
|
|
|
"shinyobjects"
|
|
|
|
"wppi"
|
|
|
|
"pins"
|
2021-11-01 07:24:56 +00:00
|
|
|
"CoTiMA"
|
|
|
|
"TBRDist"
|
|
|
|
"Rogue"
|
2021-11-03 22:03:44 +00:00
|
|
|
"fixest"
|
|
|
|
"paxtoolsr"
|
2021-10-11 07:23:42 +00:00
|
|
|
];
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
packagesToSkipCheck = [
|
2017-07-01 08:12:30 +00:00
|
|
|
"Rmpi" # tries to run MPI processes
|
|
|
|
"pbdMPI" # tries to run MPI processes
|
2020-08-20 06:42:21 +00:00
|
|
|
"data_table" # fails to rename shared library before check
|
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 = [
|
2021-10-11 21:37:18 +00:00
|
|
|
"av"
|
2021-10-07 11:18:25 +00:00
|
|
|
"rgl"
|
2021-10-11 04:51:10 +00:00
|
|
|
"NetLogoR"
|
2021-10-11 11:26:11 +00:00
|
|
|
"x13binary"
|
2021-11-04 05:04:12 +00:00
|
|
|
"valse"
|
2021-10-24 22:38:27 +00:00
|
|
|
|
|
|
|
# Impure network access during build
|
|
|
|
"waddR"
|
|
|
|
|
|
|
|
# ExperimentHub dependents, require net access during build
|
|
|
|
"DuoClustering2018"
|
|
|
|
"FieldEffectCrc"
|
|
|
|
"GenomicDistributionsData"
|
|
|
|
"HDCytoData"
|
|
|
|
"HMP16SData"
|
|
|
|
"PANTHER_db"
|
|
|
|
"RNAmodR_Data"
|
|
|
|
"SCATEData"
|
|
|
|
"SingleMoleculeFootprintingData"
|
|
|
|
"TabulaMurisData"
|
|
|
|
"benchmarkfdrData2019"
|
|
|
|
"bodymapRat"
|
|
|
|
"clustifyrdatahub"
|
|
|
|
"depmap"
|
|
|
|
"emtdata"
|
|
|
|
"metaboliteIDmapping"
|
|
|
|
"msigdb"
|
|
|
|
"muscData"
|
|
|
|
"org_Mxanthus_db"
|
|
|
|
"scpdata"
|
2021-11-03 22:30:20 +00:00
|
|
|
"nullrangesData"
|
2014-11-29 13:13:11 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
otherOverrides = old: new: {
|
2015-07-22 11:42:23 +00: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 11:47:27 +00:00
|
|
|
xml2 = old.xml2.overrideDerivation (attrs: {
|
2015-10-12 08:02:48 +00:00
|
|
|
preConfigure = ''
|
2015-11-20 13:32:58 +00:00
|
|
|
export LIBXML_INCDIR=${pkgs.libxml2.dev}/include/libxml2
|
2015-10-12 08:02:48 +00:00
|
|
|
patchShebangs configure
|
|
|
|
'';
|
2015-05-15 11:47:27 +00:00
|
|
|
});
|
|
|
|
|
2021-01-18 05:30:28 +00:00
|
|
|
rzmq = old.rzmq.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
|
|
|
clustermq = old.clustermq.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2017-01-06 16:11:23 +00:00
|
|
|
Cairo = old.Cairo.overrideDerivation (attrs: {
|
|
|
|
NIX_LDFLAGS = "-lfontconfig";
|
|
|
|
});
|
|
|
|
|
2015-01-26 09:04:48 +00:00
|
|
|
curl = old.curl.overrideDerivation (attrs: {
|
2015-09-09 18:29:20 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
2015-01-26 09:04:48 +00:00
|
|
|
});
|
|
|
|
|
2020-07-13 18:12:49 +00:00
|
|
|
RcppParallel = old.RcppParallel.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: {
|
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2018-01-19 08:40:46 +00:00
|
|
|
data_table = old.data_table.overrideDerivation (attrs: {
|
2020-08-20 06:42:21 +00:00
|
|
|
NIX_CFLAGS_COMPILE = attrs.NIX_CFLAGS_COMPILE + " -fopenmp";
|
|
|
|
patchPhase = "patchShebangs configure";
|
2018-01-19 08:40:46 +00:00
|
|
|
});
|
|
|
|
|
2019-10-31 00:00:25 +00:00
|
|
|
ModelMetrics = old.ModelMetrics.overrideDerivation (attrs: {
|
|
|
|
NIX_CFLAGS_COMPILE = attrs.NIX_CFLAGS_COMPILE
|
|
|
|
+ lib.optionalString stdenv.isDarwin " -fopenmp";
|
|
|
|
});
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
rpf = old.rpf.overrideDerivation (attrs: {
|
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2018-07-10 14:32:07 +00:00
|
|
|
Rhdf5lib = old.Rhdf5lib.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/Rhdf5lib.patch ];
|
2018-07-02 15:00:16 +00:00
|
|
|
});
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
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}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2018-08-19 22:08:28 +00:00
|
|
|
jqr = old.jqr.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2018-02-09 04:34:19 +00:00
|
|
|
pbdZMQ = old.pbdZMQ.overrideDerivation (attrs: {
|
|
|
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
|
|
|
for file in R/*.{r,r.in}; do
|
2018-05-11 14:53:10 +00:00
|
|
|
sed -i 's#system("which \(\w\+\)"[^)]*)#"${pkgs.darwin.cctools}/bin/\1"#g' $file
|
2018-02-09 04:34:19 +00:00
|
|
|
done
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2014-11-29 13:13:11 +00:00
|
|
|
Rmpi = old.Rmpi.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-Rmpi-type=OPENMPI"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
Rmpfr = old.Rmpfr.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
2016-04-16 17:40:40 +00:00
|
|
|
"--with-mpfr-include=${pkgs.mpfr.dev}/include"
|
2014-11-29 13:13:11 +00:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RVowpalWabbit = old.RVowpalWabbit.overrideDerivation (attrs: {
|
|
|
|
configureFlags = [
|
2016-04-27 21:41:28 +00:00
|
|
|
"--with-boost=${pkgs.boost.dev}" "--with-boost-libdir=${pkgs.boost.out}/lib"
|
2014-11-29 13:13:11 +00:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
RAppArmor = old.RAppArmor.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/RAppArmor.patch ];
|
2019-09-08 23:38:31 +00:00
|
|
|
LIBAPPARMOR_HOME = pkgs.libapparmor;
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
RMySQL = old.RMySQL.overrideDerivation (attrs: {
|
2021-09-13 11:50:35 +00:00
|
|
|
MYSQL_DIR = "${pkgs.libmysqlclient}";
|
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.libmysqlclient.dev}/include/mysql";
|
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.libmysqlclient}/lib/mysql -lmysqlclient";
|
2017-10-21 01:22:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
2017-07-09 15:43:03 +00:00
|
|
|
'';
|
2015-02-19 20:53:36 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
devEMF = old.devEMF.overrideDerivation (attrs: {
|
2016-01-24 07:29:53 +00:00
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.xorg.libXft.out}/lib -lXft";
|
2017-01-06 16:58:58 +00:00
|
|
|
NIX_LDFLAGS = "-lX11";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
slfm = old.slfm.overrideDerivation (attrs: {
|
2020-03-31 14:47:18 +00:00
|
|
|
PKG_LIBS = "-L${pkgs.blas}/lib -lblas -L${pkgs.lapack}/lib -llapack";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
SamplerCompare = old.SamplerCompare.overrideDerivation (attrs: {
|
2020-03-31 14:47:18 +00:00
|
|
|
PKG_LIBS = "-L${pkgs.blas}/lib -lblas -L${pkgs.lapack}/lib -llapack";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
spMC = old.spMC.overrideDerivation (attrs: {
|
|
|
|
patches = [ ./patches/spMC.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
openssl = old.openssl.overrideDerivation (attrs: {
|
2020-10-23 12:40:18 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
2020-07-21 11:02:37 +00:00
|
|
|
'';
|
2017-10-06 12:01:40 +00:00
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -lssl -lcrypto";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
|
|
|
|
2019-12-05 04:00:19 +00:00
|
|
|
websocket = old.websocket.overrideDerivation (attrs: {
|
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -lssl -lcrypto";
|
|
|
|
});
|
|
|
|
|
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: {
|
2018-11-02 11:41:45 +00:00
|
|
|
# Drop bundled nlopt source code. Probably unnecessary, but I want to be
|
|
|
|
# sure we're using the system library, not this one.
|
|
|
|
preConfigure = "rm -r src/nlopt_src";
|
2014-11-29 13:13:11 +00:00
|
|
|
});
|
2014-12-03 13:48:51 +00:00
|
|
|
|
2015-06-16 10:58:58 +00:00
|
|
|
V8 = old.V8.overrideDerivation (attrs: {
|
2020-01-17 20:56:26 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace " -lv8_libplatform" ""
|
|
|
|
'';
|
|
|
|
|
2017-10-21 01:22:52 +00:00
|
|
|
preConfigure = ''
|
2020-01-17 20:56:26 +00:00
|
|
|
export INCLUDE_DIR=${pkgs.v8}/include
|
|
|
|
export LIB_DIR=${pkgs.v8}/lib
|
2017-10-21 01:22:52 +00:00
|
|
|
patchShebangs configure
|
2020-01-17 20:56:26 +00:00
|
|
|
'';
|
2017-10-21 01:22:52 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
acs = old.acs.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
gdtools = old.gdtools.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
NIX_LDFLAGS = "-lfontconfig -lfreetype";
|
|
|
|
});
|
|
|
|
|
|
|
|
magick = old.magick.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2020-07-21 11:02:37 +00:00
|
|
|
libgeos = old.libgeos.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2017-10-21 01:22:52 +00:00
|
|
|
protolite = old.protolite.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
rpanel = old.rpanel.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
export TCLLIBPATH="${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}"
|
|
|
|
'';
|
|
|
|
TCLLIBPATH = "${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}";
|
|
|
|
});
|
|
|
|
|
2018-09-09 21:36:03 +00:00
|
|
|
RPostgres = old.RPostgres.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
export INCLUDE_DIR=${pkgs.postgresql}/include
|
|
|
|
export LIB_DIR=${pkgs.postgresql.lib}/lib
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2017-10-21 01:22:52 +00:00
|
|
|
OpenMx = old.OpenMx.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
odbc = old.odbc.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
x13binary = old.x13binary.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
|
|
|
geojsonio = old.geojsonio.overrideDerivation (attrs: {
|
2017-12-27 20:26:36 +00:00
|
|
|
buildInputs = [ cacert ] ++ attrs.buildInputs;
|
2017-10-21 01:22:52 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
rstan = old.rstan.overrideDerivation (attrs: {
|
|
|
|
NIX_CFLAGS_COMPILE = "${attrs.NIX_CFLAGS_COMPILE} -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION";
|
2015-06-16 10:58:58 +00:00
|
|
|
});
|
|
|
|
|
2018-03-10 03:01:49 +00:00
|
|
|
mongolite = old.mongolite.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include -I${pkgs.cyrus_sasl.dev}/include -I${pkgs.zlib.dev}/include";
|
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -L${pkgs.cyrus_sasl.out}/lib -L${pkgs.zlib.out}/lib -lssl -lcrypto -lsasl2 -lz";
|
|
|
|
});
|
2018-11-02 10:46:37 +00:00
|
|
|
|
2018-11-02 22:02:04 +00:00
|
|
|
ps = old.ps.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2018-11-02 10:46:37 +00:00
|
|
|
rlang = old.rlang.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2019-10-10 18:49:55 +00:00
|
|
|
systemfonts = old.systemfonts.overrideDerivation (attrs: {
|
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2018-12-06 16:22:31 +00:00
|
|
|
littler = old.littler.overrideAttrs (attrs: with pkgs; {
|
2021-03-14 18:12:53 +00:00
|
|
|
buildInputs = [ pcre xz zlib bzip2 icu which ] ++ attrs.buildInputs;
|
2018-12-06 16:22:31 +00:00
|
|
|
postInstall = ''
|
|
|
|
install -d $out/bin $out/share/man/man1
|
|
|
|
ln -s ../library/littler/bin/r $out/bin/r
|
|
|
|
ln -s ../library/littler/bin/r $out/bin/lr
|
|
|
|
ln -s ../../../library/littler/man-page/r.1 $out/share/man/man1
|
|
|
|
# these won't run without special provisions, so better remove them
|
|
|
|
rm -r $out/library/littler/script-tests
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-06-25 02:33:54 +00:00
|
|
|
lpsymphony = old.lpsymphony.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-09-26 08:02:04 +00:00
|
|
|
sodium = old.sodium.overrideDerivation (attrs: with pkgs; {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config ] ++ attrs.nativeBuildInputs;
|
|
|
|
buildInputs = [ libsodium.dev ] ++ attrs.buildInputs;
|
|
|
|
});
|
|
|
|
|
2021-10-11 20:42:01 +00:00
|
|
|
keyring = old.keyring.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-09-26 23:48:07 +00:00
|
|
|
Rhtslib = old.Rhtslib.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace R/zzz.R --replace "-lcurl" "-L${pkgs.curl.out}/lib -lcurl"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-10-08 03:07:23 +00:00
|
|
|
MatchIt = old.MatchIt.overrideDerivation (attrs: {
|
|
|
|
patches = [ (pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/kosukeimai/MatchIt/commit/8c15a1afa16b74eb04a45e7e46f8aca64ed89bcb.patch";
|
|
|
|
sha256 = "sha256-3UI60n49xuX6LniHpTLOUSsHCEAQ7f1FMBVH0jNlW60=";
|
|
|
|
}) ];
|
|
|
|
});
|
2021-10-11 22:05:10 +00:00
|
|
|
|
2021-09-07 04:34:15 +00:00
|
|
|
h2o = old.h2o.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
# prevent download of jar file during install and postpone to first use
|
|
|
|
sed -i '/downloadJar()/d' R/zzz.R
|
|
|
|
|
|
|
|
# during runtime the package directory is not writable as it's in the
|
|
|
|
# nix store, so store the jar in the user's cache directory instead
|
|
|
|
substituteInPlace R/connection.R --replace \
|
|
|
|
'dest_file <- file.path(dest_folder, "h2o.jar")' \
|
|
|
|
'dest_file <- file.path("~/.cache/", "h2o.jar")'
|
|
|
|
'';
|
|
|
|
});
|
2021-10-25 02:46:43 +00:00
|
|
|
|
|
|
|
SICtools = old.SICtools.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/Makefile --replace "-lcurses" "-lncurses"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-11-03 22:04:28 +00:00
|
|
|
arrow = old.arrow.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
2021-11-03 22:30:11 +00:00
|
|
|
|
|
|
|
proj4 = old.proj4.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace "-lsqlite3" "-L${lib.makeLibraryPath [ pkgs.sqlite ]} -lsqlite3"
|
|
|
|
'';
|
|
|
|
});
|
2021-11-04 10:16:51 +00:00
|
|
|
|
|
|
|
rrd = old.rrd.overrideDerivation (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
2014-11-29 13:13:11 +00:00
|
|
|
};
|
2014-12-01 13:06:35 +00:00
|
|
|
in
|
|
|
|
self
|