2020-04-24 23:36:52 +00:00
|
|
|
/* This file defines the composition for CRAN (R) packages. */
|
|
|
|
|
|
|
|
{ R, pkgs, overrides }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (pkgs) cacert fetchurl stdenv lib;
|
|
|
|
|
|
|
|
buildRPackage = pkgs.callPackage ./generic-builder.nix {
|
|
|
|
inherit R;
|
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa Foundation;
|
|
|
|
inherit (pkgs) gettext gfortran;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Generates package templates given per-repository settings
|
|
|
|
#
|
|
|
|
# some packages, e.g. cncaGUI, require X running while installation,
|
|
|
|
# so that we use xvfb-run if requireX is true.
|
2021-12-19 01:06:50 +00:00
|
|
|
mkDerive = {mkHomepage, mkUrls, hydraPlatforms ? null}: args:
|
|
|
|
let hydraPlatforms' = hydraPlatforms; in
|
2020-04-24 23:36:52 +00:00
|
|
|
lib.makeOverridable ({
|
|
|
|
name, version, sha256,
|
|
|
|
depends ? [],
|
|
|
|
doCheck ? true,
|
|
|
|
requireX ? false,
|
|
|
|
broken ? false,
|
2021-12-19 01:06:50 +00:00
|
|
|
platforms ? R.meta.platforms,
|
|
|
|
hydraPlatforms ? if hydraPlatforms' != null then hydraPlatforms' else platforms,
|
|
|
|
maintainers ? []
|
2020-04-24 23:36:52 +00:00
|
|
|
}: buildRPackage {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
inherit sha256;
|
|
|
|
urls = mkUrls (args // { inherit name version; });
|
|
|
|
};
|
|
|
|
inherit doCheck requireX;
|
|
|
|
propagatedBuildInputs = depends;
|
|
|
|
nativeBuildInputs = depends;
|
|
|
|
meta.homepage = mkHomepage (args // { inherit name; });
|
2021-12-19 01:06:50 +00:00
|
|
|
meta.platforms = platforms;
|
2020-04-24 23:36:52 +00:00
|
|
|
meta.hydraPlatforms = hydraPlatforms;
|
|
|
|
meta.broken = broken;
|
2021-12-19 01:06:50 +00:00
|
|
|
meta.maintainers = maintainers;
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
# Templates for generating Bioconductor and CRAN packages
|
|
|
|
# from the name, version, sha256, and optional per-package arguments above
|
|
|
|
#
|
|
|
|
deriveBioc = mkDerive {
|
|
|
|
mkHomepage = {name, biocVersion, ...}: "https://bioconductor.org/packages/${biocVersion}/bioc/html/${name}.html";
|
2021-09-18 10:52:07 +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"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
deriveBiocAnn = mkDerive {
|
|
|
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
2021-09-18 10:52:07 +00:00
|
|
|
mkUrls = {name, version, biocVersion}: [
|
|
|
|
"mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
];
|
2021-12-19 01:06:50 +00:00
|
|
|
hydraPlatforms = [];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
deriveBiocExp = mkDerive {
|
|
|
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
2021-09-18 10:52:07 +00:00
|
|
|
mkUrls = {name, version, biocVersion}: [
|
|
|
|
"mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz"
|
|
|
|
];
|
2021-12-19 01:06:50 +00:00
|
|
|
hydraPlatforms = [];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
deriveCran = mkDerive {
|
2023-04-12 12:48:02 +00:00
|
|
|
mkHomepage = {name, ...}: "https://cran.r-project.org/web/packages/${name}/";
|
|
|
|
mkUrls = {name, version}: [
|
|
|
|
"mirror://cran/${name}_${version}.tar.gz"
|
|
|
|
"mirror://cran/Archive/${name}/${name}_${version}.tar.gz"
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Overrides package definitions with nativeBuildInputs.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideNativeBuildInputs {
|
|
|
|
# foo = [ pkgs.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
2023-03-04 12:14:45 +00:00
|
|
|
# foo = old.foo.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
# nativeBuildInputs = attrs.nativeBuildInputs ++ [ pkgs.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideNativeBuildInputs = overrides: old:
|
|
|
|
lib.mapAttrs (name: value:
|
2023-03-04 12:14:45 +00:00
|
|
|
(builtins.getAttr name old).overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = attrs.nativeBuildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
|
|
|
|
|
|
|
# Overrides package definitions with buildInputs.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideBuildInputs {
|
|
|
|
# foo = [ pkgs.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
2023-03-04 12:14:45 +00:00
|
|
|
# foo = old.foo.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
# buildInputs = attrs.buildInputs ++ [ pkgs.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideBuildInputs = overrides: old:
|
|
|
|
lib.mapAttrs (name: value:
|
2023-03-04 12:14:45 +00:00
|
|
|
(builtins.getAttr name old).overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = attrs.buildInputs ++ value;
|
|
|
|
})
|
|
|
|
) overrides;
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
# Overrides package definitions with maintainers.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideMaintainers {
|
|
|
|
# foo = [ lib.maintainers.jsmith ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
|
|
|
# foo = old.foo.override {
|
|
|
|
# maintainers = [ lib.maintainers.jsmith ];
|
|
|
|
# };
|
|
|
|
# }
|
|
|
|
overrideMaintainers = overrides: old:
|
|
|
|
lib.mapAttrs (name: value:
|
|
|
|
(builtins.getAttr name old).override {
|
|
|
|
maintainers = value;
|
|
|
|
}) overrides;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# Overrides package definitions with new R dependencies.
|
|
|
|
# For example,
|
|
|
|
#
|
|
|
|
# overrideRDepends {
|
|
|
|
# foo = [ self.bar ]
|
|
|
|
# } old
|
|
|
|
#
|
|
|
|
# results in
|
|
|
|
#
|
|
|
|
# {
|
2023-03-04 12:14:45 +00:00
|
|
|
# foo = old.foo.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
# nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.bar ];
|
|
|
|
# propagatedNativeBuildInputs = attrs.propagatedNativeBuildInputs ++ [ self.bar ];
|
|
|
|
# });
|
|
|
|
# }
|
|
|
|
overrideRDepends = overrides: old:
|
|
|
|
lib.mapAttrs (name: value:
|
2023-03-04 12:14:45 +00:00
|
|
|
(builtins.getAttr name old).overrideAttrs (attrs: {
|
|
|
|
nativeBuildInputs = (attrs.nativeBuildInputs or []) ++ value;
|
|
|
|
propagatedNativeBuildInputs = (attrs.propagatedNativeBuildInputs or []) ++ value;
|
2020-04-24 23:36:52 +00:00
|
|
|
})
|
|
|
|
) overrides;
|
|
|
|
|
|
|
|
# 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-28 06:52:43 +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;
|
|
|
|
|
2020-04-24 23:36:52 +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-28 06:52:43 +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);
|
2021-12-19 01:06:50 +00:00
|
|
|
old8 = old7 // (overrideMaintainers packagesWithMaintainers old7);
|
|
|
|
old = old8;
|
2020-04-24 23:36:52 +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;
|
|
|
|
_self = { inherit buildRPackage; } //
|
|
|
|
import ./bioc-packages.nix { inherit self; derive = deriveBioc; } //
|
|
|
|
import ./bioc-annotation-packages.nix { inherit self; derive = deriveBiocAnn; } //
|
|
|
|
import ./bioc-experiment-packages.nix { inherit self; derive = deriveBiocExp; } //
|
|
|
|
import ./cran-packages.nix { inherit self; derive = deriveCran; };
|
|
|
|
|
|
|
|
# tweaks for the individual packages and "in self" follow
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
packagesWithMaintainers = with lib.maintainers; {
|
|
|
|
data_table = [ jbedo ];
|
|
|
|
BiocManager = [ jbedo ];
|
|
|
|
ggplot2 = [ jbedo ];
|
|
|
|
svaNUMT = [ jbedo ];
|
|
|
|
svaRetro = [ jbedo ];
|
|
|
|
StructuralVariantAnnotation = [ jbedo ];
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
packagesWithRDepends = {
|
|
|
|
FactoMineR = [ self.car ];
|
|
|
|
pander = [ self.codetools ];
|
|
|
|
};
|
|
|
|
|
|
|
|
packagesWithNativeBuildInputs = {
|
2021-03-19 17:17:44 +00:00
|
|
|
arrow = [ pkgs.pkg-config pkgs.arrow-cpp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
adimpro = [ pkgs.imagemagick ];
|
|
|
|
animation = [ pkgs.which ];
|
|
|
|
audio = [ pkgs.portaudio ];
|
2021-10-28 06:52:43 +00:00
|
|
|
BayesSAE = [ pkgs.gsl ];
|
|
|
|
BayesVarSel = [ pkgs.gsl ];
|
2021-12-06 16:07:01 +00:00
|
|
|
BayesXsrc = with pkgs; [ readline.dev ncurses gsl ];
|
2021-02-05 17:12:51 +00:00
|
|
|
bigGP = [ pkgs.mpi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
bio3d = [ pkgs.zlib ];
|
|
|
|
BiocCheck = [ pkgs.which ];
|
|
|
|
Biostrings = [ pkgs.zlib ];
|
2021-10-28 06:52:43 +00:00
|
|
|
bnpmr = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
cairoDevice = [ pkgs.gtk2.dev ];
|
2022-12-17 10:02:37 +00:00
|
|
|
Cairo = with pkgs; [ libtiff libjpeg cairo.dev xorg.libXt.dev fontconfig.lib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
Cardinal = [ pkgs.which ];
|
2022-03-30 09:31:56 +00:00
|
|
|
chebpol = [ pkgs.fftw.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
ChemmineOB = with pkgs; [ openbabel pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
curl = [ pkgs.curl.dev ];
|
2023-07-15 17:15:38 +00:00
|
|
|
data_table = with pkgs; [ pkg-config zlib.dev ] ++ lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp;
|
2022-12-17 10:02:37 +00:00
|
|
|
devEMF = with pkgs; [ xorg.libXft.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
diversitree = with pkgs; [ gsl fftw ];
|
2021-09-18 10:52:07 +00:00
|
|
|
exactextractr = [ pkgs.geos ];
|
2020-04-24 23:36:52 +00:00
|
|
|
EMCluster = [ pkgs.lapack ];
|
|
|
|
fftw = [ pkgs.fftw.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
fftwtools = with pkgs; [ fftw.dev pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
Formula = [ pkgs.gmp ];
|
2021-09-18 10:52:07 +00:00
|
|
|
gdtools = with pkgs; [ cairo.dev fontconfig.lib freetype.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
ggiraph = with pkgs; [ pkgs.libpng.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
git2r = with pkgs; [ zlib.dev openssl.dev libssh2.dev libgit2 pkg-config ];
|
2021-10-28 06:52:43 +00:00
|
|
|
GLAD = [ pkgs.gsl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
glpkAPI = with pkgs; [ gmp glpk ];
|
2020-04-24 23:36:52 +00:00
|
|
|
gmp = [ pkgs.gmp.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
graphscan = [ pkgs.gsl ];
|
|
|
|
gsl = [ pkgs.gsl ];
|
2021-02-05 17:12:51 +00:00
|
|
|
gert = [ pkgs.libgit2 ];
|
2023-02-09 11:40:11 +00:00
|
|
|
haven = with pkgs; [ zlib.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
h5vc = [ pkgs.zlib.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
HiCseg = [ pkgs.gsl ];
|
2022-12-17 10:02:37 +00:00
|
|
|
imager = [ pkgs.xorg.libX11.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
iBMQ = [ pkgs.gsl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
igraph = with pkgs; [ gmp libxml2.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
JavaGD = [ pkgs.jdk ];
|
|
|
|
jpeg = [ pkgs.libjpeg.dev ];
|
|
|
|
jqr = [ pkgs.jq.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
KFKSDS = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
kza = [ pkgs.fftw.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
lpsymphony = with pkgs; [ pkg-config gfortran gettext ];
|
|
|
|
lwgeom = with pkgs; [ proj geos gdal ];
|
2023-07-15 17:15:38 +00:00
|
|
|
rvg = [ pkgs.libpng.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
magick = [ pkgs.imagemagick.dev ];
|
|
|
|
ModelMetrics = lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp;
|
2021-10-28 06:52:43 +00:00
|
|
|
mvabund = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
mwaved = [ pkgs.fftw.dev ];
|
2022-10-21 18:38:19 +00:00
|
|
|
mzR = with pkgs; [ zlib netcdf ];
|
2023-02-09 11:40:11 +00:00
|
|
|
nanonext = with pkgs; [ mbedtls nng ];
|
2020-04-24 23:36:52 +00:00
|
|
|
ncdf4 = [ pkgs.netcdf ];
|
2023-02-09 11:40:11 +00:00
|
|
|
nloptr = with pkgs; [ nlopt pkg-config ];
|
2021-02-05 17:12:51 +00:00
|
|
|
n1qn1 = [ pkgs.gfortran ];
|
2020-04-24 23:36:52 +00:00
|
|
|
odbc = [ pkgs.unixODBC ];
|
2021-09-18 10:52:07 +00:00
|
|
|
pander = with pkgs; [ pandoc which ];
|
2021-02-05 17:12:51 +00:00
|
|
|
pbdMPI = [ pkgs.mpi ];
|
|
|
|
pbdPROF = [ pkgs.mpi ];
|
2023-07-15 17:15:38 +00:00
|
|
|
pbdZMQ = [ pkgs.pkg-config ] ++ lib.optionals stdenv.isDarwin [ pkgs.which ];
|
2020-04-24 23:36:52 +00:00
|
|
|
pdftools = [ pkgs.poppler.dev ];
|
|
|
|
phytools = [ pkgs.which ];
|
|
|
|
PKI = [ pkgs.openssl.dev ];
|
|
|
|
png = [ pkgs.libpng.dev ];
|
|
|
|
protolite = [ pkgs.protobuf ];
|
2021-09-18 10:52:07 +00:00
|
|
|
R2SWF = with pkgs; [ zlib libpng freetype.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
RAppArmor = [ pkgs.libapparmor ];
|
|
|
|
rapportools = [ pkgs.which ];
|
|
|
|
rapport = [ pkgs.which ];
|
|
|
|
rcdd = [ pkgs.gmp.dev ];
|
|
|
|
RcppCNPy = [ pkgs.zlib.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
RcppGSL = [ pkgs.gsl ];
|
|
|
|
RcppZiggurat = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
reprex = [ pkgs.which ];
|
2021-09-18 10:52:07 +00:00
|
|
|
rgdal = with pkgs; [ proj.dev gdal ];
|
2020-04-24 23:36:52 +00:00
|
|
|
rgeos = [ pkgs.geos ];
|
|
|
|
Rglpk = [ pkgs.glpk ];
|
|
|
|
RGtk2 = [ pkgs.gtk2.dev ];
|
|
|
|
rhdf5 = [ pkgs.zlib ];
|
2023-03-27 19:17:25 +00:00
|
|
|
Rhdf5lib = with pkgs; [ zlib.dev ];
|
2021-09-18 10:52:07 +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 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
rjags = [ pkgs.jags ];
|
2021-09-18 10:52:07 +00:00
|
|
|
rJava = with pkgs; [ zlib bzip2.dev icu xz.dev pcre.dev jdk libzip ];
|
2021-10-28 06:52:43 +00:00
|
|
|
Rlibeemd = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
rmatio = [ pkgs.zlib.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
Rmpfr = with pkgs; [ gmp mpfr.dev ];
|
2021-02-05 17:12:51 +00:00
|
|
|
Rmpi = [ pkgs.mpi ];
|
2021-09-18 10:52:07 +00:00
|
|
|
RMySQL = with pkgs; [ zlib libmysqlclient openssl.dev ];
|
|
|
|
RNetCDF = with pkgs; [ netcdf udunits ];
|
2020-04-24 23:36:52 +00:00
|
|
|
RODBC = [ pkgs.libiodbc ];
|
|
|
|
rpanel = [ pkgs.bwidget ];
|
|
|
|
Rpoppler = [ pkgs.poppler ];
|
2021-09-18 10:52:07 +00:00
|
|
|
RPostgreSQL = with pkgs; [ postgresql postgresql ];
|
2020-04-24 23:36:52 +00:00
|
|
|
RProtoBuf = [ pkgs.protobuf ];
|
|
|
|
RSclient = [ pkgs.openssl.dev ];
|
|
|
|
Rserve = [ pkgs.openssl ];
|
|
|
|
Rssa = [ pkgs.fftw.dev ];
|
2021-08-18 13:19:15 +00:00
|
|
|
rsvg = [ pkgs.pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
runjags = [ pkgs.jags ];
|
2023-08-22 20:05:09 +00:00
|
|
|
xslt = [ pkgs.pkg-config ];
|
2021-09-18 10:52:07 +00:00
|
|
|
RVowpalWabbit = with pkgs; [ zlib.dev boost ];
|
|
|
|
rzmq = with pkgs; [ zeromq pkg-config ];
|
2021-10-04 12:37:57 +00:00
|
|
|
httpuv = [ pkgs.zlib.dev ];
|
2021-02-05 17:12:51 +00:00
|
|
|
clustermq = [ pkgs.zeromq ];
|
2021-09-18 10:52:07 +00:00
|
|
|
SAVE = with pkgs; [ zlib bzip2 icu xz pcre ];
|
|
|
|
sdcTable = with pkgs; [ gmp glpk ];
|
|
|
|
seewave = with pkgs; [ fftw.dev libsndfile.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
seqinr = [ pkgs.zlib.dev ];
|
2023-08-22 20:05:09 +00:00
|
|
|
webp = [ pkgs.pkg-config ];
|
2021-09-18 10:52:07 +00:00
|
|
|
seqminer = with pkgs; [ zlib.dev bzip2 ];
|
2023-10-09 19:29:22 +00:00
|
|
|
sf = with pkgs; [ gdal proj geos libtiff curl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
terra = with pkgs; [ gdal proj geos ];
|
|
|
|
showtext = with pkgs; [ zlib libpng icu freetype.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
simplexreg = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
spate = [ pkgs.fftw.dev ];
|
|
|
|
ssanv = [ pkgs.proj ];
|
2021-10-28 06:52:43 +00:00
|
|
|
stsm = [ pkgs.gsl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
stringi = [ pkgs.icu.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
survSNP = [ pkgs.gsl ];
|
2021-07-03 03:11:41 +00:00
|
|
|
svglite = [ pkgs.libpng.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
sysfonts = with pkgs; [ zlib libpng freetype.dev ];
|
|
|
|
systemfonts = with pkgs; [ fontconfig.dev freetype.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
TAQMNGR = [ pkgs.zlib.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
tesseract = with pkgs; [ tesseract leptonica ];
|
2020-04-24 23:36:52 +00:00
|
|
|
tiff = [ pkgs.libtiff.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
tkrplot = with pkgs; [ xorg.libX11 tk.dev ];
|
2021-10-28 06:52:43 +00:00
|
|
|
topicmodels = [ pkgs.gsl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
udunits2 = with pkgs; [ udunits expat ];
|
2020-04-24 23:36:52 +00:00
|
|
|
units = [ pkgs.udunits ];
|
|
|
|
V8 = [ pkgs.v8 ];
|
2021-09-18 10:52:07 +00:00
|
|
|
XBRL = with pkgs; [ zlib libxml2.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
xml2 = [ pkgs.libxml2.dev ] ++ lib.optionals stdenv.isDarwin [ pkgs.perl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
XML = with pkgs; [ libtool libxml2.dev xmlsec libxslt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
affyPLM = [ pkgs.zlib.dev ];
|
|
|
|
bamsignals = [ pkgs.zlib.dev ];
|
|
|
|
BitSeq = [ pkgs.zlib.dev ];
|
|
|
|
DiffBind = [ pkgs.zlib ];
|
|
|
|
ShortRead = [ pkgs.zlib.dev ];
|
|
|
|
oligo = [ pkgs.zlib.dev ];
|
|
|
|
gmapR = [ pkgs.zlib.dev ];
|
|
|
|
Rsubread = [ pkgs.zlib.dev ];
|
|
|
|
XVector = [ pkgs.zlib.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
Rsamtools = with pkgs; [ zlib.dev curl.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
rtracklayer = [ pkgs.zlib.dev ];
|
|
|
|
affyio = [ pkgs.zlib.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
VariantAnnotation = with pkgs; [ zlib.dev curl.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
snpStats = [ pkgs.zlib.dev ];
|
2021-06-06 07:54:09 +00:00
|
|
|
hdf5r = [ pkgs.hdf5.dev ];
|
2021-12-06 16:07:01 +00:00
|
|
|
httpgd = with pkgs; [ cairo.dev ];
|
|
|
|
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 ];
|
|
|
|
RcppCWB = [ pkgs.pkg-config ];
|
|
|
|
rrd = [ pkgs.pkg-config ];
|
|
|
|
trackViewer = [ pkgs.zlib.dev ];
|
|
|
|
themetagenomics = [ pkgs.zlib.dev ];
|
|
|
|
NanoMethViz = [ pkgs.zlib.dev ];
|
2021-12-19 01:06:50 +00:00
|
|
|
RcppMeCab = [ pkgs.pkg-config ];
|
|
|
|
HilbertVisGUI = with pkgs; [ pkg-config which ];
|
|
|
|
textshaping = [ pkgs.pkg-config ];
|
2022-01-13 20:06:32 +00:00
|
|
|
ragg = [ pkgs.pkg-config ];
|
2022-03-30 09:31:56 +00:00
|
|
|
qqconf = [ pkgs.pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
packagesWithBuildInputs = {
|
|
|
|
# sort -t '=' -k 2
|
|
|
|
svKomodo = [ pkgs.which ];
|
|
|
|
nat = [ pkgs.which ];
|
|
|
|
nat_templatebrains = [ pkgs.which ];
|
2023-07-15 17:15:38 +00:00
|
|
|
pbdZMQ = [ pkgs.zeromq ] ++ lib.optionals stdenv.isDarwin [ pkgs.darwin.binutils ];
|
2022-11-27 09:42:12 +00:00
|
|
|
bigmemory = lib.optionals stdenv.isLinux [ pkgs.libuuid.dev ];
|
2021-02-05 17:12:51 +00:00
|
|
|
clustermq = [ pkgs.pkg-config ];
|
2023-08-22 20:05:09 +00:00
|
|
|
webp = [ pkgs.libwebp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
RMark = [ pkgs.which ];
|
|
|
|
RPushbullet = [ pkgs.which ];
|
|
|
|
RCurl = [ pkgs.curl.dev ];
|
2021-02-05 17:12:51 +00:00
|
|
|
R2SWF = [ pkgs.pkg-config ];
|
2022-12-17 10:02:37 +00:00
|
|
|
rgl = with pkgs; [ libGLU libGLU.dev libGL xorg.libX11.dev freetype.dev libpng.dev ];
|
2021-02-05 17:12:51 +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 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
jqr = [ pkgs.jq.lib ];
|
2021-02-05 17:12:51 +00:00
|
|
|
kza = [ pkgs.pkg-config ];
|
2021-09-18 10:52:07 +00:00
|
|
|
lwgeom = with pkgs; [ pkg-config proj.dev sqlite.dev ];
|
2021-02-05 17:12:51 +00:00
|
|
|
magick = [ pkgs.pkg-config ];
|
|
|
|
mwaved = [ pkgs.pkg-config ];
|
|
|
|
odbc = [ pkgs.pkg-config ];
|
|
|
|
openssl = [ pkgs.pkg-config ];
|
|
|
|
pdftools = [ pkgs.pkg-config ];
|
2021-09-18 10:52:07 +00:00
|
|
|
sf = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
|
|
|
terra = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
2021-02-05 17:12:51 +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 ];
|
|
|
|
CLVTools = [ pkgs.gsl ];
|
|
|
|
JMcmprsk = [ pkgs.gsl ];
|
|
|
|
mashr = [ pkgs.gsl ];
|
|
|
|
hadron = [ pkgs.gsl ];
|
|
|
|
AMOUNTAIN = [ pkgs.gsl ];
|
2021-09-18 10:52:07 +00:00
|
|
|
Rsymphony = with pkgs; [ pkg-config doxygen graphviz subversion ];
|
|
|
|
tcltk2 = with pkgs; [ tcl tk ];
|
|
|
|
tikzDevice = with pkgs; [ which texlive.combined.scheme-medium ];
|
2020-04-24 23:36:52 +00:00
|
|
|
gridGraphics = [ pkgs.which ];
|
2021-09-18 10:52:07 +00:00
|
|
|
adimpro = with pkgs; [ which xorg.xdpyinfo ];
|
2021-08-18 13:19:15 +00:00
|
|
|
rsvg = [ pkgs.librsvg.dev ];
|
2021-09-18 10:52:07 +00:00
|
|
|
ssh = with pkgs; [ libssh ];
|
2021-09-28 08:13:01 +00:00
|
|
|
s2 = [ pkgs.openssl.dev ];
|
|
|
|
ArrayExpressHTS = with pkgs; [ zlib.dev curl.dev which ];
|
|
|
|
bbl = with pkgs; [ gsl ];
|
|
|
|
writexl = with pkgs; [ zlib.dev ];
|
2023-08-22 20:05:09 +00:00
|
|
|
xslt = with pkgs; [ libxslt libxml2 ];
|
2021-09-28 08:13:01 +00:00
|
|
|
qpdf = with pkgs; [ libjpeg.dev zlib.dev ];
|
|
|
|
vcfR = with pkgs; [ zlib.dev ];
|
|
|
|
bio3d = with pkgs; [ zlib.dev ];
|
|
|
|
arrangements = with pkgs; [ gmp.dev ];
|
|
|
|
spp = with pkgs; [ zlib.dev ];
|
|
|
|
Rbowtie = with pkgs; [ zlib.dev ];
|
|
|
|
gaston = with pkgs; [ zlib.dev ];
|
|
|
|
csaw = with pkgs; [ zlib.dev curl ];
|
2021-10-28 06:52:43 +00:00
|
|
|
DirichletMultinomial = with pkgs; [ gsl ];
|
|
|
|
DiffBind = with pkgs; [ zlib.dev ];
|
|
|
|
CNEr = with pkgs; [ zlib ];
|
2021-12-06 16:07:01 +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 ];
|
2023-03-27 19:17:25 +00:00
|
|
|
rhdf5filters = with pkgs; [ zlib.dev bzip2.dev ];
|
2023-08-22 20:05:09 +00:00
|
|
|
symengine = with pkgs; [ mpfr symengine flint ];
|
2021-12-06 16:07:01 +00:00
|
|
|
rtk = [ pkgs.zlib.dev ];
|
|
|
|
scPipe = [ pkgs.zlib.dev ];
|
|
|
|
seqTools = [ pkgs.zlib.dev ];
|
|
|
|
seqbias = [ pkgs.zlib.dev ];
|
|
|
|
sparkwarc = [ pkgs.zlib.dev ];
|
|
|
|
RoBMA = [ pkgs.jags ];
|
|
|
|
rGEDI = with pkgs; [ libgeotiff.dev libaec zlib.dev hdf5.dev ];
|
|
|
|
rawrr = [ pkgs.mono ];
|
|
|
|
HDF5Array = [ pkgs.zlib.dev ];
|
|
|
|
FLAMES = [ pkgs.zlib.dev ];
|
|
|
|
ncdfFlow = [ pkgs.zlib.dev ];
|
|
|
|
proj4 = [ pkgs.proj.dev ];
|
|
|
|
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 ];
|
|
|
|
scModels = [ pkgs.mpfr.dev ];
|
|
|
|
multibridge = [ pkgs.mpfr.dev ];
|
|
|
|
RcppCWB = with pkgs; [ pcre.dev glib.dev ];
|
|
|
|
RmecabKo = [ pkgs.mecab ];
|
|
|
|
PoissonBinomial = [ pkgs.fftw.dev ];
|
|
|
|
rrd = [ pkgs.rrdtool ];
|
|
|
|
flowWorkspace = [ pkgs.zlib.dev ];
|
2021-12-19 01:06:50 +00:00
|
|
|
RcppMeCab = [ pkgs.mecab ];
|
|
|
|
PING = [ pkgs.gsl ];
|
|
|
|
RcppAlgos = [ pkgs.gmp.dev ];
|
|
|
|
RcppBigIntAlgos = [ pkgs.gmp.dev ];
|
2023-08-22 20:05:09 +00:00
|
|
|
spaMM = [ pkgs.gsl ];
|
2022-02-10 20:34:41 +00:00
|
|
|
HilbertVisGUI = [ pkgs.gtkmm2.dev ];
|
2021-12-19 01:06:50 +00:00
|
|
|
textshaping = with pkgs; [ harfbuzz.dev freetype.dev fribidi libpng ];
|
|
|
|
DropletUtils = [ pkgs.zlib.dev ];
|
|
|
|
RMariaDB = [ pkgs.libmysqlclient.dev ];
|
2023-08-22 20:05:09 +00:00
|
|
|
ijtiff = [ pkgs.libtiff ];
|
2022-01-13 20:06:32 +00:00
|
|
|
ragg = with pkgs; [ freetype.dev libpng.dev libtiff.dev zlib.dev libjpeg.dev bzip2.dev ];
|
2022-03-30 09:31:56 +00:00
|
|
|
qqconf = [ pkgs.fftw.dev ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
packagesRequiringX = [
|
2020-04-24 23:36:52 +00:00
|
|
|
"accrual"
|
|
|
|
"ade4TkGUI"
|
|
|
|
"analogue"
|
|
|
|
"analogueExtra"
|
|
|
|
"AnalyzeFMRI"
|
|
|
|
"AnnotLists"
|
|
|
|
"AnthropMMD"
|
|
|
|
"aplpack"
|
|
|
|
"asbio"
|
|
|
|
"BAT"
|
|
|
|
"BCA"
|
|
|
|
"betapart"
|
|
|
|
"BiodiversityR"
|
|
|
|
"bio_infer"
|
|
|
|
"bipartite"
|
|
|
|
"biplotbootGUI"
|
|
|
|
"blender"
|
|
|
|
"cairoDevice"
|
2021-12-19 01:06:50 +00:00
|
|
|
"canceR"
|
2020-04-24 23:36:52 +00:00
|
|
|
"CCTpack"
|
|
|
|
"cncaGUI"
|
|
|
|
"cocorresp"
|
|
|
|
"CommunityCorrelogram"
|
|
|
|
"confidence"
|
|
|
|
"constrainedKriging"
|
|
|
|
"ConvergenceConcepts"
|
|
|
|
"cpa"
|
|
|
|
"DALY"
|
|
|
|
"dave"
|
|
|
|
"Deducer"
|
|
|
|
"DeducerPlugInExample"
|
|
|
|
"DeducerPlugInScaling"
|
|
|
|
"DeducerSpatial"
|
|
|
|
"DeducerSurvival"
|
|
|
|
"DeducerText"
|
|
|
|
"Demerelate"
|
|
|
|
"detrendeR"
|
|
|
|
"dpa"
|
|
|
|
"dynamicGraph"
|
|
|
|
"dynBiplotGUI"
|
|
|
|
"EasyqpcR"
|
|
|
|
"EcoVirtual"
|
|
|
|
"exactLoglinTest"
|
|
|
|
"fat2Lpoly"
|
|
|
|
"fbati"
|
|
|
|
"FD"
|
|
|
|
"feature"
|
|
|
|
"FeedbackTS"
|
|
|
|
"FFD"
|
|
|
|
"fgui"
|
|
|
|
"fisheyeR"
|
|
|
|
"forams"
|
|
|
|
"forensim"
|
|
|
|
"FreeSortR"
|
|
|
|
"fscaret"
|
|
|
|
"gcmr"
|
|
|
|
"geomorph"
|
|
|
|
"geoR"
|
|
|
|
"georob"
|
|
|
|
"GGEBiplotGUI"
|
|
|
|
"gnm"
|
|
|
|
"GrapheR"
|
|
|
|
"GroupSeq"
|
|
|
|
"gsubfn"
|
|
|
|
"GUniFrac"
|
|
|
|
"gWidgets2RGtk2"
|
|
|
|
"gWidgets2tcltk"
|
|
|
|
"HH"
|
|
|
|
"HiveR"
|
|
|
|
"ic50"
|
|
|
|
"iDynoR"
|
|
|
|
"in2extRemes"
|
|
|
|
"iplots"
|
|
|
|
"isopam"
|
|
|
|
"IsotopeR"
|
|
|
|
"JGR"
|
|
|
|
"KappaGUI"
|
|
|
|
"likeLTD"
|
|
|
|
"logmult"
|
2021-09-28 08:13:01 +00:00
|
|
|
"loon"
|
2020-04-24 23:36:52 +00:00
|
|
|
"LS2Wstat"
|
|
|
|
"MareyMap"
|
|
|
|
"memgene"
|
|
|
|
"metacom"
|
|
|
|
"Meth27QC"
|
|
|
|
"migui"
|
|
|
|
"miniGUI"
|
|
|
|
"mixsep"
|
|
|
|
"MplusAutomation"
|
|
|
|
"mpmcorrelogram"
|
|
|
|
"mritc"
|
|
|
|
"multgee"
|
|
|
|
"multibiplotGUI"
|
|
|
|
"OligoSpecificitySystem"
|
|
|
|
"onemap"
|
|
|
|
"OpenRepGrid"
|
|
|
|
"paleoMAS"
|
|
|
|
"pbatR"
|
|
|
|
"PBSadmb"
|
|
|
|
"PBSmodelling"
|
|
|
|
"PCPS"
|
|
|
|
"pez"
|
|
|
|
"phylotools"
|
|
|
|
"picante"
|
|
|
|
"plotSEMM"
|
|
|
|
"plsRbeta"
|
|
|
|
"plsRglm"
|
|
|
|
"PopGenReport"
|
|
|
|
"poppr"
|
|
|
|
"powerpkg"
|
|
|
|
"PredictABEL"
|
|
|
|
"prefmod"
|
|
|
|
"PrevMap"
|
|
|
|
"r4ss"
|
|
|
|
"RandomFields"
|
|
|
|
"rareNMtests"
|
|
|
|
"rAverage"
|
2021-09-26 12:46:18 +00:00
|
|
|
"RclusTool"
|
2020-04-24 23:36:52 +00:00
|
|
|
"Rcmdr"
|
|
|
|
"RcmdrPlugin_coin"
|
|
|
|
"RcmdrPlugin_depthTools"
|
|
|
|
"RcmdrPlugin_DoE"
|
|
|
|
"RcmdrPlugin_EACSPIR"
|
|
|
|
"RcmdrPlugin_EBM"
|
|
|
|
"RcmdrPlugin_EcoVirtual"
|
|
|
|
"RcmdrPlugin_EZR"
|
|
|
|
"RcmdrPlugin_FactoMineR"
|
2021-12-19 01:06:50 +00:00
|
|
|
"RcmdrPlugin_FuzzyClust"
|
2020-04-24 23:36:52 +00:00
|
|
|
"RcmdrPlugin_HH"
|
|
|
|
"RcmdrPlugin_IPSUR"
|
|
|
|
"RcmdrPlugin_KMggplot2"
|
|
|
|
"RcmdrPlugin_lfstat"
|
|
|
|
"RcmdrPlugin_MA"
|
|
|
|
"RcmdrPlugin_MPAStats"
|
|
|
|
"RcmdrPlugin_orloca"
|
2021-12-19 01:06:50 +00:00
|
|
|
"RcmdrPlugin_PcaRobust"
|
2020-04-24 23:36:52 +00:00
|
|
|
"RcmdrPlugin_plotByGroup"
|
|
|
|
"RcmdrPlugin_pointG"
|
|
|
|
"RcmdrPlugin_ROC"
|
|
|
|
"RcmdrPlugin_sampling"
|
|
|
|
"RcmdrPlugin_SCDA"
|
|
|
|
"RcmdrPlugin_SLC"
|
|
|
|
"RcmdrPlugin_sos"
|
|
|
|
"RcmdrPlugin_steepness"
|
|
|
|
"RcmdrPlugin_survival"
|
|
|
|
"RcmdrPlugin_TeachingDemos"
|
|
|
|
"RcmdrPlugin_temis"
|
|
|
|
"RcmdrPlugin_UCA"
|
|
|
|
"recluster"
|
|
|
|
"relimp"
|
|
|
|
"RHRV"
|
|
|
|
"rich"
|
|
|
|
"RNCEP"
|
|
|
|
"RSDA"
|
|
|
|
"RSurvey"
|
|
|
|
"simba"
|
|
|
|
"Simile"
|
|
|
|
"SimpleTable"
|
|
|
|
"SOLOMON"
|
|
|
|
"soundecology"
|
|
|
|
"spatsurv"
|
|
|
|
"sqldf"
|
|
|
|
"SSDforR"
|
|
|
|
"statcheck"
|
|
|
|
"StatDA"
|
|
|
|
"STEPCAM"
|
|
|
|
"stosim"
|
|
|
|
"strvalidator"
|
|
|
|
"stylo"
|
|
|
|
"svDialogstcltk"
|
|
|
|
"svIDE"
|
|
|
|
"svSocket"
|
|
|
|
"svWidgets"
|
|
|
|
"SYNCSA"
|
|
|
|
"SyNet"
|
|
|
|
"tcltk2"
|
|
|
|
"TestScorer"
|
|
|
|
"TIMP"
|
|
|
|
"tkrplot"
|
|
|
|
"tmap"
|
|
|
|
"tspmeta"
|
|
|
|
"TTAinterfaceTrendAnalysis"
|
|
|
|
"twiddler"
|
2021-12-19 01:06:50 +00:00
|
|
|
"uHMM"
|
2020-04-24 23:36:52 +00:00
|
|
|
"vcdExtra"
|
|
|
|
"VecStatGraphs3D"
|
|
|
|
"vegan"
|
|
|
|
"vegan3d"
|
|
|
|
"vegclust"
|
|
|
|
"x12GUI"
|
|
|
|
];
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
packagesRequiringHome = [
|
|
|
|
"aroma_affymetrix"
|
|
|
|
"aroma_cn"
|
|
|
|
"aroma_core"
|
|
|
|
"csodata"
|
|
|
|
"DiceView"
|
|
|
|
"MSnID"
|
|
|
|
"OmnipathR"
|
|
|
|
"precommit"
|
|
|
|
"PSCBS"
|
|
|
|
"repmis"
|
|
|
|
"R_cache"
|
|
|
|
"R_filesets"
|
|
|
|
"RKorAPClient"
|
|
|
|
"R_rsp"
|
|
|
|
"scholar"
|
|
|
|
"stepR"
|
|
|
|
"styler"
|
|
|
|
"TreeTools"
|
2021-12-06 16:07:01 +00:00
|
|
|
"ACNE"
|
|
|
|
"APAlyzer"
|
|
|
|
"EstMix"
|
|
|
|
"PECA"
|
|
|
|
"Quartet"
|
|
|
|
"ShinyQuickStarter"
|
|
|
|
"TIN"
|
|
|
|
"TotalCopheneticIndex"
|
|
|
|
"TreeDist"
|
|
|
|
"biocthis"
|
|
|
|
"calmate"
|
|
|
|
"fgga"
|
|
|
|
"fulltext"
|
|
|
|
"immuneSIM"
|
|
|
|
"mastif"
|
|
|
|
"shinymeta"
|
|
|
|
"shinyobjects"
|
|
|
|
"wppi"
|
|
|
|
"pins"
|
|
|
|
"CoTiMA"
|
|
|
|
"TBRDist"
|
|
|
|
"Rogue"
|
|
|
|
"fixest"
|
|
|
|
"paxtoolsr"
|
|
|
|
"systemPipeShiny"
|
2021-10-28 06:52:43 +00:00
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
packagesToSkipCheck = [
|
|
|
|
"Rmpi" # tries to run MPI processes
|
|
|
|
"pbdMPI" # tries to run MPI processes
|
2020-10-20 17:27:49 +00:00
|
|
|
"data_table" # fails to rename shared library before check
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Packages which cannot be installed due to lack of dependencies or other reasons.
|
|
|
|
brokenPackages = [
|
2021-10-28 06:52:43 +00:00
|
|
|
"av"
|
|
|
|
"NetLogoR"
|
2021-12-06 16:07:01 +00:00
|
|
|
"valse"
|
|
|
|
"HierO"
|
2021-12-19 01:06:50 +00:00
|
|
|
"HIBAG"
|
|
|
|
"HiveR"
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
# Impure network access during build
|
|
|
|
"waddR"
|
|
|
|
"tiledb"
|
|
|
|
"x13binary"
|
|
|
|
"switchr"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
"nullrangesData"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
otherOverrides = old: new: {
|
2023-03-04 12:14:45 +00:00
|
|
|
gifski = old.gifski.overrideAttrs (attrs: {
|
2022-06-26 10:26:21 +00:00
|
|
|
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
|
|
|
|
src = attrs.src;
|
|
|
|
sourceRoot = "gifski/src/myrustlib";
|
|
|
|
hash = "sha256-vBrTQ+5JZA8554Aasbqw7mbaOfJNQjrOpG00IXAcamI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoRoot = "src/myrustlib";
|
|
|
|
|
|
|
|
nativeBuildInputs = attrs.nativeBuildInputs ++ [
|
|
|
|
pkgs.rustPlatform.cargoSetupHook
|
|
|
|
pkgs.cargo
|
|
|
|
pkgs.rustc
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
stringi = old.stringi.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
xml2 = old.xml2.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export LIBXML_INCDIR=${pkgs.libxml2.dev}/include/libxml2
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rzmq = old.rzmq.overrideAttrs (attrs: {
|
2021-02-05 17:12:51 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
clustermq = old.clustermq.overrideAttrs (attrs: {
|
2021-02-05 17:12:51 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
Cairo = old.Cairo.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
NIX_LDFLAGS = "-lfontconfig";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
curl = old.curl.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RcppParallel = old.RcppParallel.overrideAttrs (attrs: {
|
2020-08-20 17:08:02 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
purrr = old.purrr.overrideAttrs (attrs: {
|
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RcppArmadillo = old.RcppArmadillo.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
data_table = old.data_table.overrideAttrs (attrs: {
|
|
|
|
env = (attrs.env or { }) // {
|
|
|
|
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -fopenmp";
|
|
|
|
};
|
2020-10-20 17:27:49 +00:00
|
|
|
patchPhase = "patchShebangs configure";
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
ModelMetrics = old.ModelMetrics.overrideAttrs (attrs: {
|
|
|
|
env = (attrs.env or { }) // {
|
|
|
|
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + lib.optionalString stdenv.isDarwin " -fopenmp";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rpf = old.rpf.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
patchPhase = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rJava = old.rJava.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export JAVA_CPPFLAGS=-I${pkgs.jdk}/include/
|
|
|
|
export JAVA_HOME=${pkgs.jdk}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
JavaGD = old.JavaGD.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export JAVA_CPPFLAGS=-I${pkgs.jdk}/include/
|
|
|
|
export JAVA_HOME=${pkgs.jdk}
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
jqr = old.jqr.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
pbdZMQ = old.pbdZMQ.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
|
|
|
for file in R/*.{r,r.in}; do
|
|
|
|
sed -i 's#system("which \(\w\+\)"[^)]*)#"${pkgs.darwin.cctools}/bin/\1"#g' $file
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
quarto = old.quarto.overrideAttrs (attrs: {
|
2023-10-19 13:55:26 +00:00
|
|
|
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ pkgs.quarto ];
|
2023-02-22 10:55:15 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace "R/quarto.R" \
|
|
|
|
--replace "path_env <- Sys.getenv(\"QUARTO_PATH\", unset = NA)" "path_env <- Sys.getenv(\"QUARTO_PATH\", unset = '${lib.getBin pkgs.quarto}/bin/quarto')"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
s2 = old.s2.overrideAttrs (attrs: {
|
2022-09-09 14:08:57 +00:00
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
Rmpi = old.Rmpi.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-Rmpi-type=OPENMPI"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
Rmpfr = old.Rmpfr.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-mpfr-include=${pkgs.mpfr.dev}/include"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RVowpalWabbit = old.RVowpalWabbit.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-boost=${pkgs.boost.dev}" "--with-boost-libdir=${pkgs.boost.out}/lib"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RAppArmor = old.RAppArmor.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./patches/RAppArmor.patch ];
|
|
|
|
LIBAPPARMOR_HOME = pkgs.libapparmor;
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RMySQL = old.RMySQL.overrideAttrs (attrs: {
|
2021-09-18 10:52:07 +00:00
|
|
|
MYSQL_DIR = "${pkgs.libmysqlclient}";
|
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.libmysqlclient.dev}/include/mysql";
|
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.libmysqlclient}/lib/mysql -lmysqlclient";
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
devEMF = old.devEMF.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
NIX_CFLAGS_LINK = "-L${pkgs.xorg.libXft.out}/lib -lXft";
|
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
slfm = old.slfm.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
PKG_LIBS = "-L${pkgs.blas}/lib -lblas -L${pkgs.lapack}/lib -llapack";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
SamplerCompare = old.SamplerCompare.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
PKG_LIBS = "-L${pkgs.blas}/lib -lblas -L${pkgs.lapack}/lib -llapack";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
spMC = old.spMC.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./patches/spMC.patch ];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
openssl = old.openssl.overrideAttrs (attrs: {
|
2020-10-27 00:29:36 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
2021-02-05 17:12:51 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
2022-04-03 18:54:34 +00:00
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto";
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
websocket = old.websocket.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
2022-04-03 18:54:34 +00:00
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto";
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
Rserve = old.Rserve.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./patches/Rserve.patch ];
|
|
|
|
configureFlags = [
|
|
|
|
"--with-server" "--with-client"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
V8 = old.V8.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace " -lv8_libplatform" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export INCLUDE_DIR=${pkgs.v8}/include
|
|
|
|
export LIB_DIR=${pkgs.v8}/lib
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
2021-12-19 01:06:50 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
R_MAKEVARS_SITE = lib.optionalString (pkgs.stdenv.system == "aarch64-linux")
|
2021-12-19 01:06:50 +00:00
|
|
|
(pkgs.writeText "Makevars" ''
|
|
|
|
CXX14PICFLAGS = -fPIC
|
|
|
|
'');
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
acs = old.acs.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
gdtools = old.gdtools.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
NIX_LDFLAGS = "-lfontconfig -lfreetype";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
magick = old.magick.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
libgeos = old.libgeos.overrideAttrs (attrs: {
|
2021-02-05 17:12:51 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
protolite = old.protolite.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rpanel = old.rpanel.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export TCLLIBPATH="${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}"
|
|
|
|
'';
|
|
|
|
TCLLIBPATH = "${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
RPostgres = old.RPostgres.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export INCLUDE_DIR=${pkgs.postgresql}/include
|
|
|
|
export LIB_DIR=${pkgs.postgresql.lib}/lib
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
OpenMx = old.OpenMx.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
odbc = old.odbc.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
x13binary = old.x13binary.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
geojsonio = old.geojsonio.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ cacert ] ++ attrs.buildInputs;
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rstan = old.rstan.overrideAttrs (attrs: {
|
|
|
|
env = (attrs.env or { }) // {
|
|
|
|
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
mongolite = old.mongolite.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include -I${pkgs.cyrus_sasl.dev}/include -I${pkgs.zlib.dev}/include";
|
2022-04-03 18:54:34 +00:00
|
|
|
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -L${pkgs.cyrus_sasl.out}/lib -L${pkgs.zlib.out}/lib -lssl -lcrypto -lsasl2 -lz";
|
2020-04-24 23:36:52 +00:00
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
ps = old.ps.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rlang = old.rlang.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
systemfonts = old.systemfonts.overrideAttrs (attrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
preConfigure = "patchShebangs configure";
|
|
|
|
});
|
|
|
|
|
|
|
|
littler = old.littler.overrideAttrs (attrs: with pkgs; {
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ pcre xz zlib bzip2 icu which ] ++ attrs.buildInputs;
|
2020-04-24 23:36:52 +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
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
lpsymphony = old.lpsymphony.overrideAttrs (attrs: {
|
2021-09-18 10:52:07 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
sodium = old.sodium.overrideAttrs (attrs: with pkgs; {
|
2021-09-28 08:13:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config ] ++ attrs.nativeBuildInputs;
|
|
|
|
buildInputs = [ libsodium.dev ] ++ attrs.buildInputs;
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
keyring = old.keyring.overrideAttrs (attrs: {
|
2021-10-28 06:52:43 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
Rhtslib = old.Rhtslib.overrideAttrs (attrs: {
|
2021-09-28 08:13:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace R/zzz.R --replace "-lcurl" "-L${pkgs.curl.out}/lib -lcurl"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
h2o = old.h2o.overrideAttrs (attrs: {
|
2021-10-28 06:52:43 +00:00
|
|
|
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-12-06 16:07:01 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
SICtools = old.SICtools.overrideAttrs (attrs: {
|
2021-12-06 16:07:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/Makefile --replace "-lcurses" "-lncurses"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
arrow = old.arrow.overrideAttrs (attrs: {
|
2021-12-06 16:07:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
ROracle = old.ROracle.overrideAttrs (attrs: {
|
|
|
|
configureFlags = [
|
|
|
|
"--with-oci-lib=${pkgs.oracle-instantclient.lib}/lib"
|
|
|
|
"--with-oci-inc=${pkgs.oracle-instantclient.dev}/include"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
sparklyr = old.sparklyr.overrideAttrs (attrs: {
|
|
|
|
# Pyspark's spark is full featured and better maintained than pkgs.spark
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace R/zzz.R \
|
|
|
|
--replace ".onLoad <- function(...) {" \
|
|
|
|
".onLoad <- function(...) {
|
|
|
|
Sys.setenv(\"SPARK_HOME\" = Sys.getenv(\"SPARK_HOME\", unset = \"${pkgs.python3Packages.pyspark}/lib/${pkgs.python3Packages.python.libPrefix}/site-packages/pyspark\"))
|
|
|
|
Sys.setenv(\"JAVA_HOME\" = Sys.getenv(\"JAVA_HOME\", unset = \"${pkgs.jdk}\"))"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
proj4 = old.proj4.overrideAttrs (attrs: {
|
2021-12-06 16:07:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace "-lsqlite3" "-L${lib.makeLibraryPath [ pkgs.sqlite ]} -lsqlite3"
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rrd = old.rrd.overrideAttrs (attrs: {
|
2021-12-06 16:07:01 +00:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
ChIPXpress = old.ChIPXpress.override { hydraPlatforms = []; };
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
rgl = old.rgl.overrideAttrs (attrs: {
|
2021-12-19 01:06:50 +00:00
|
|
|
RGL_USE_NULL = "true";
|
|
|
|
});
|
|
|
|
|
|
|
|
Rrdrand = old.Rrdrand.override { platforms = lib.platforms.x86_64 ++ lib.platforms.x86; };
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
symengine = old.symengine.overrideAttrs (_: {
|
|
|
|
preConfigure = ''
|
|
|
|
rm configure
|
|
|
|
cat > src/Makevars << EOF
|
|
|
|
PKG_LIBS=-lsymengine
|
|
|
|
all: $(SHLIB)
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
RandomFieldsUtils = old.RandomFieldsUtils.override { platforms = lib.platforms.x86_64 ++ lib.platforms.x86; };
|
|
|
|
|
|
|
|
flowClust = old.flowClust.override { platforms = lib.platforms.x86_64 ++ lib.platforms.x86; };
|
2022-01-13 20:06:32 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
geomorph = old.geomorph.overrideAttrs (attrs: {
|
2022-01-13 20:06:32 +00:00
|
|
|
RGL_USE_NULL = "true";
|
|
|
|
});
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
Rhdf5lib = let
|
|
|
|
hdf5 = pkgs.hdf5_1_10.overrideAttrs (attrs: {configureFlags = attrs.configureFlags ++ ["--enable-cxx"];});
|
|
|
|
in old.Rhdf5lib.overrideAttrs (attrs: {
|
|
|
|
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ hdf5.dev pkgs.libaec ];
|
|
|
|
patches = [ ./patches/Rhdf5lib.patch ];
|
|
|
|
passthru.hdf5 = hdf5;
|
|
|
|
});
|
|
|
|
|
|
|
|
rhdf5filters = old.rhdf5filters.overrideAttrs (attrs: {
|
|
|
|
propagatedBuildInputs = with pkgs; attrs.propagatedBuildInputs ++ [ (hdf5-blosc.override {hdf5 = self.Rhdf5lib.hdf5;}) ];
|
|
|
|
patches = [ ./patches/rhdf5filters.patch ];
|
|
|
|
});
|
|
|
|
|
|
|
|
rhdf5= old.rhdf5.overrideAttrs (attrs: {
|
|
|
|
patches = [ ./patches/rhdf5.patch ];
|
2022-06-16 17:23:12 +00:00
|
|
|
});
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
rmarkdown = old.rmarkdown.overrideAttrs (_: {
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace R/pandoc.R \
|
|
|
|
--replace '"~/opt/pandoc"' '"~/opt/pandoc", "${pkgs.pandoc}/bin"'
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
redland = old.redland.overrideAttrs (_: {
|
|
|
|
PKGCONFIG_CFLAGS="-I${pkgs.redland}/include -I${pkgs.librdf_raptor2}/include/raptor2 -I${pkgs.librdf_rasqal}/include/rasqal";
|
|
|
|
PKGCONFIG_LIBS="-L${pkgs.redland}/lib -L${pkgs.librdf_raptor2}/lib -L${pkgs.librdf_rasqal}/lib -lrdf -lraptor2 -lrasqal";
|
|
|
|
});
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
textshaping = old.textshaping.overrideAttrs (attrs: {
|
|
|
|
env.NIX_LDFLAGS = "-lfribidi -lharfbuzz";
|
|
|
|
});
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
ijtiff = old.ijtiff.overrideAttrs (_: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
torch = old.torch.overrideAttrs (attrs: {
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs configure
|
|
|
|
'';
|
|
|
|
});
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
self
|