Merge pull request #253144 from jiegec/boost183
boost183: init at 1.83.0
This commit is contained in:
commit
547f990fdc
14
pkgs/development/libraries/boost/1.83.nix
Normal file
14
pkgs/development/libraries/boost/1.83.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ callPackage, fetchurl, fetchpatch, ... } @ args:
|
||||||
|
|
||||||
|
callPackage ./generic.nix (args // rec {
|
||||||
|
version = "1.83.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
urls = [
|
||||||
|
"mirror://sourceforge/boost/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2"
|
||||||
|
"https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${builtins.replaceStrings ["."] ["_"] version}.tar.bz2"
|
||||||
|
];
|
||||||
|
# SHA256 from http://www.boost.org/users/history/version_1_83_0.html
|
||||||
|
sha256 = "6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e";
|
||||||
|
};
|
||||||
|
})
|
|
@ -23,4 +23,5 @@ in {
|
||||||
boost180 = makeBoost ./1.80.nix;
|
boost180 = makeBoost ./1.80.nix;
|
||||||
boost181 = makeBoost ./1.81.nix;
|
boost181 = makeBoost ./1.81.nix;
|
||||||
boost182 = makeBoost ./1.82.nix;
|
boost182 = makeBoost ./1.82.nix;
|
||||||
|
boost183 = makeBoost ./1.83.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,6 +113,13 @@ stdenv.mkDerivation {
|
||||||
relative = "include";
|
relative = "include";
|
||||||
sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4=";
|
sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4=";
|
||||||
})
|
})
|
||||||
|
# Fixes ABI detection
|
||||||
|
++ lib.optional (version == "1.83.0") (fetchpatch {
|
||||||
|
url = "https://github.com/boostorg/context/commit/6fa6d5c50d120e69b2d8a1c0d2256ee933e94b3b.patch";
|
||||||
|
stripLen = 1;
|
||||||
|
extraPrefix = "libs/context/";
|
||||||
|
sha256 = "sha256-bCfLL7bD1Rn4Ie/P3X+nIcgTkbXdCX6FW7B9lHsmVW8=";
|
||||||
|
})
|
||||||
# This fixes another issue regarding ill-formed constant expressions, which is a default error
|
# This fixes another issue regarding ill-formed constant expressions, which is a default error
|
||||||
# in clang 16 and will be a hard error in clang 17.
|
# in clang 16 and will be a hard error in clang 17.
|
||||||
++ lib.optional (lib.versionOlder version "1.80") (fetchpatch {
|
++ lib.optional (lib.versionOlder version "1.80") (fetchpatch {
|
||||||
|
|
|
@ -20832,6 +20832,7 @@ with pkgs;
|
||||||
boost180
|
boost180
|
||||||
boost181
|
boost181
|
||||||
boost182
|
boost182
|
||||||
|
boost183
|
||||||
;
|
;
|
||||||
|
|
||||||
boost = boost181;
|
boost = boost181;
|
||||||
|
|
Loading…
Reference in a new issue