mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
rPackages: improve formatting in default.nix
This commit is contained in:
parent
8b565e95a4
commit
96eb04ef7a
@ -43,21 +43,29 @@ let
|
|||||||
#
|
#
|
||||||
deriveBioc = mkDerive {
|
deriveBioc = mkDerive {
|
||||||
mkHomepage = {name, biocVersion, ...}: "https://bioconductor.org/packages/${biocVersion}/bioc/html/${name}.html";
|
mkHomepage = {name, biocVersion, ...}: "https://bioconductor.org/packages/${biocVersion}/bioc/html/${name}.html";
|
||||||
mkUrls = {name, version, biocVersion}: [ "mirror://bioc/${biocVersion}/bioc/src/contrib/${name}_${version}.tar.gz"
|
mkUrls = {name, version, biocVersion}: [
|
||||||
"mirror://bioc/${biocVersion}/bioc/src/contrib/Archive/${name}/${name}_${version}.tar.gz"
|
"mirror://bioc/${biocVersion}/bioc/src/contrib/${name}_${version}.tar.gz"
|
||||||
"mirror://bioc/${biocVersion}/bioc/src/contrib/Archive/${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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
deriveBiocAnn = mkDerive {
|
deriveBiocAnn = mkDerive {
|
||||||
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
||||||
mkUrls = {name, version, biocVersion}: [ "mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz" ];
|
mkUrls = {name, version, biocVersion}: [
|
||||||
|
"mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
deriveBiocExp = mkDerive {
|
deriveBiocExp = mkDerive {
|
||||||
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html";
|
||||||
mkUrls = {name, version, biocVersion}: [ "mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz" ];
|
mkUrls = {name, version, biocVersion}: [
|
||||||
|
"mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
deriveCran = mkDerive {
|
deriveCran = mkDerive {
|
||||||
mkHomepage = {name, snapshot, ...}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/";
|
mkHomepage = {name, snapshot, ...}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/";
|
||||||
mkUrls = {name, version, snapshot}: [ "http://mran.revolutionanalytics.com/snapshot/${snapshot}/src/contrib/${name}_${version}.tar.gz" ];
|
mkUrls = {name, version, snapshot}: [
|
||||||
|
"http://mran.revolutionanalytics.com/snapshot/${snapshot}/src/contrib/${name}_${version}.tar.gz"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Overrides package definitions with nativeBuildInputs.
|
# Overrides package definitions with nativeBuildInputs.
|
||||||
|
Loading…
Reference in New Issue
Block a user