rPackages: disable hydra on annotations/experiments

This commit is contained in:
Justin Bedo 2021-11-21 10:37:28 +11:00
parent 5a7000ff27
commit 257f13b85f
No known key found for this signature in database
GPG Key ID: 2C18202C56C182BD

View File

@ -15,14 +15,15 @@ let
#
# some packages, e.g. cncaGUI, require X running while installation,
# so that we use xvfb-run if requireX is true.
mkDerive = {mkHomepage, mkUrls}: args:
mkDerive = {mkHomepage, mkUrls, hydraPlatforms ? R.meta.platforms}: args:
let hydraPlatforms' = hydraPlatforms; in
lib.makeOverridable ({
name, version, sha256,
depends ? [],
doCheck ? true,
requireX ? false,
broken ? false,
hydraPlatforms ? R.meta.platforms,
hydraPlatforms ? hydraPlatforms',
maintainers ? []
}: buildRPackage {
name = "${name}-${version}";
@ -56,12 +57,14 @@ let
mkUrls = {name, version, biocVersion}: [
"mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz"
];
hydraPlatforms = [];
};
deriveBiocExp = mkDerive {
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
mkUrls = {name, version, biocVersion}: [
"mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz"
];
hydraPlatforms = [];
};
deriveCran = mkDerive {
mkHomepage = {name, snapshot, ...}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/";