Commit 557163a1 authored by Jiajie Chen's avatar Jiajie Chen
Browse files

boost183: init at 1.83.0

parent dec57ed3
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
{ 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";
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -23,4 +23,5 @@ in {
  boost180 = makeBoost ./1.80.nix;
  boost181 = makeBoost ./1.81.nix;
  boost182 = makeBoost ./1.82.nix;
  boost183 = makeBoost ./1.83.nix;
}
+7 −0
Original line number Diff line number Diff line
@@ -113,6 +113,13 @@ stdenv.mkDerivation {
    relative = "include";
    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
  # in clang 16 and will be a hard error in clang 17.
  ++ lib.optional (lib.versionOlder version "1.80") (fetchpatch {
+1 −0
Original line number Diff line number Diff line
@@ -20834,6 +20834,7 @@ with pkgs;
    boost180
    boost181
    boost182
    boost183
  ;
  boost = boost181;