boost188: init at 1.88.0 (#397759)

authored by Pavol Rusnak and committed by GitHub 691bf65d 640507ab

+31 -5
+19
pkgs/development/libraries/boost/1.88.nix
··· 1 + { callPackage, fetchurl, ... }@args: 2 + 3 + callPackage ./generic.nix ( 4 + args 5 + // rec { 6 + version = "1.88.0"; 7 + 8 + src = fetchurl { 9 + urls = [ 10 + "mirror://sourceforge/boost/boost_${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.bz2" 11 + "https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${ 12 + builtins.replaceStrings [ "." ] [ "_" ] version 13 + }.tar.bz2" 14 + ]; 15 + # SHA256 from http://www.boost.org/users/history/version_1_88_0.html 16 + sha256 = "46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b"; 17 + }; 18 + } 19 + )
+1
pkgs/development/libraries/boost/default.nix
··· 29 29 boost183 = makeBoost ./1.83.nix; 30 30 boost186 = makeBoost ./1.86.nix; 31 31 boost187 = makeBoost ./1.87.nix; 32 + boost188 = makeBoost ./1.88.nix; 32 33 }
+10 -5
pkgs/development/libraries/boost/generic.nix
··· 168 168 169 169 patches = 170 170 patches 171 - ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-no-system-python.patch 172 - ++ [ ./cmake-paths-173.patch ] 171 + ++ lib.optional ( 172 + lib.versionOlder version "1.88" && stdenv.hostPlatform.isDarwin 173 + ) ./darwin-no-system-python.patch 174 + ++ lib.optional (lib.versionOlder version "1.88") ./cmake-paths-173.patch 173 175 ++ lib.optional (version == "1.77.0") (fetchpatch { 174 176 url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; 175 177 relative = "include"; ··· 212 214 extraPrefix = "libs/python/"; 213 215 }) 214 216 ] 215 - ++ lib.optional (lib.versionAtLeast version "1.81" && stdenv.cc.isClang) ./fix-clang-target.patch 217 + 218 + ++ lib.optional ( 219 + lib.versionAtLeast version "1.81" && lib.versionOlder version "1.88" && stdenv.cc.isClang 220 + ) ./fix-clang-target.patch 216 221 ++ lib.optional (lib.versionAtLeast version "1.86" && lib.versionOlder version "1.87") [ 217 222 # Backport fix for NumPy 2 support. 218 223 (fetchpatch { ··· 223 228 hash = "sha256-0IHK55JSujYcwEVOuLkwOa/iPEkdAKQlwVWR42p/X2U="; 224 229 }) 225 230 ] 226 - ++ lib.optional (lib.versionAtLeast version "1.87") [ 231 + ++ lib.optional (version == "1.87.0") [ 227 232 # Fix operator<< for shared_ptr and intrusive_ptr 228 233 # https://github.com/boostorg/smart_ptr/issues/115 229 234 (fetchpatch { ··· 301 306 # Fix compilation to 32-bit ARM with clang in downstream packages 302 307 # https://github.com/ned14/outcome/pull/308 303 308 # https://github.com/boostorg/json/pull/1064 304 - postPatch = lib.optionalString (lib.versionAtLeast version "1.87") '' 309 + postPatch = lib.optionalString (version == "1.87.0") '' 305 310 substituteInPlace \ 306 311 boost/outcome/outcome_gdb.h \ 307 312 boost/outcome/experimental/status-code/status_code.hpp \
+1
pkgs/top-level/all-packages.nix
··· 9023 9023 boost183 9024 9024 boost186 9025 9025 boost187 9026 + boost188 9026 9027 ; 9027 9028 9028 9029 boost = boost187;