Commit e73da62a authored by Alexis Hildebrandt's avatar Alexis Hildebrandt
Browse files

boost182: init at 1.82.0

parent abdbf67a
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.82.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_82_0.html
    sha256 = "a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6";
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -32,4 +32,5 @@ in {
  boost179 = makeBoost ./1.79.nix;
  boost180 = makeBoost ./1.80.nix;
  boost181 = makeBoost ./1.81.nix;
  boost182 = makeBoost ./1.82.nix;
}
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ stdenv.mkDerivation {
    platforms = platforms.unix ++ platforms.windows;
    badPlatforms = optional (versionOlder version "1.59") "aarch64-linux"
                 ++ optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin"
                 ++ optionals (versionOlder version "1.73") lib.platforms.riscv;
                 ++ optionals (versionOlder version "1.73") platforms.riscv;
    maintainers = with maintainers; [ hjones2199 ];

    broken =
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ stdenv.mkDerivation {
  postPatch = ''
    substituteInPlace src/build-system.jam \
    --replace "default-toolset = darwin" "default-toolset = clang-darwin"
  '' + lib.optionalString (useBoost ? version && lib.versionAtLeast useBoost.version "1.82") ''
    patchShebangs --build src/engine/build.sh
  '';

  nativeBuildInputs = [
+2 −1
Original line number Diff line number Diff line
@@ -19507,11 +19507,12 @@ with pkgs;
    boost179
    boost180
    boost181
    boost182
  ;
  boost16x = boost169;
  boost17x = boost179;
  boost18x = boost181;
  boost18x = boost182;
  boost = boost17x;
  boost_process = callPackage ../development/libraries/boost-process { };