mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
boost191: init at 1.91.0
This commit is contained in:
parent
097b8a0ef0
commit
52a17d7994
4 changed files with 31 additions and 1 deletions
|
|
@ -35,7 +35,9 @@ stdenv.mkDerivation {
|
|||
patches =
|
||||
useBoost.boostBuildPatches or [ ]
|
||||
++ lib.optional (
|
||||
useBoost ? version && lib.versionAtLeast useBoost.version "1.81"
|
||||
useBoost ? version
|
||||
&& lib.versionAtLeast useBoost.version "1.81"
|
||||
&& lib.versionOlder useBoost.version "1.88"
|
||||
) ./fix-clang-target.patch;
|
||||
|
||||
postPatch =
|
||||
|
|
|
|||
26
pkgs/development/libraries/boost/1.91.nix
Normal file
26
pkgs/development/libraries/boost/1.91.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
...
|
||||
}@args:
|
||||
|
||||
callPackage ./generic.nix (
|
||||
args
|
||||
// rec {
|
||||
version = "1.91.0";
|
||||
|
||||
src =
|
||||
let
|
||||
underVersion = lib.replaceString "." "_" version;
|
||||
in
|
||||
fetchurl {
|
||||
urls = [
|
||||
"https://archives.boost.io/release/${version}/source/boost_${underVersion}.tar.bz2"
|
||||
# "mirror://sourceforge/boost/boost_${underVersion}.tar.bz2" 1.91.0.beta1 is available, but not 1.91.0
|
||||
];
|
||||
# SHA256 from https://www.boost.org/releases/1.91.0/
|
||||
sha256 = "de5e6b0e4913395c6bdfa90537febd9028ea4c0735d2cdb0cd9b45d5f51264f5";
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
@ -31,4 +31,5 @@ in
|
|||
boost188 = makeBoost ./1.88.nix;
|
||||
boost189 = makeBoost ./1.89.nix;
|
||||
boost190 = makeBoost ./1.90.nix;
|
||||
boost191 = makeBoost ./1.91.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6023,6 +6023,7 @@ with pkgs;
|
|||
boost188
|
||||
boost189
|
||||
boost190
|
||||
boost191
|
||||
;
|
||||
|
||||
boost = boost189;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue