core/pkgs/by-name/bo/boost/default.nix

34 lines
725 B
Nix
Raw Normal View History

2024-06-30 08:16:52 +00:00
{
lib,
callPackage,
boost-build,
fetchurl,
2024-05-02 00:46:19 +00:00
}:
let
2024-06-30 08:16:52 +00:00
makeBoost =
file:
lib.fix (
self:
2024-05-02 00:46:19 +00:00
callPackage file {
boost-build = boost-build.override {
# useBoost allows us passing in src and version from
# the derivation we are building to get a matching b2 version.
useBoost = self;
};
}
);
2024-06-30 08:16:52 +00:00
in
{
2024-05-02 00:46:19 +00:00
boost175 = makeBoost ./1.75.nix;
boost177 = makeBoost ./1.77.nix;
boost178 = makeBoost ./1.78.nix;
boost179 = makeBoost ./1.79.nix;
boost180 = makeBoost ./1.80.nix;
boost181 = makeBoost ./1.81.nix;
boost182 = makeBoost ./1.82.nix;
boost183 = makeBoost ./1.83.nix;
boost184 = makeBoost ./1.84.nix;
boost185 = makeBoost ./1.85.nix;
}