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 boost183 = makeBoost ./1.83.nix; 30 boost186 = makeBoost ./1.86.nix; 31 boost187 = makeBoost ./1.87.nix; 32 }
··· 29 boost183 = makeBoost ./1.83.nix; 30 boost186 = makeBoost ./1.86.nix; 31 boost187 = makeBoost ./1.87.nix; 32 + boost188 = makeBoost ./1.88.nix; 33 }
+10 -5
pkgs/development/libraries/boost/generic.nix
··· 168 169 patches = 170 patches 171 - ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-no-system-python.patch 172 - ++ [ ./cmake-paths-173.patch ] 173 ++ lib.optional (version == "1.77.0") (fetchpatch { 174 url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; 175 relative = "include"; ··· 212 extraPrefix = "libs/python/"; 213 }) 214 ] 215 - ++ lib.optional (lib.versionAtLeast version "1.81" && stdenv.cc.isClang) ./fix-clang-target.patch 216 ++ lib.optional (lib.versionAtLeast version "1.86" && lib.versionOlder version "1.87") [ 217 # Backport fix for NumPy 2 support. 218 (fetchpatch { ··· 223 hash = "sha256-0IHK55JSujYcwEVOuLkwOa/iPEkdAKQlwVWR42p/X2U="; 224 }) 225 ] 226 - ++ lib.optional (lib.versionAtLeast version "1.87") [ 227 # Fix operator<< for shared_ptr and intrusive_ptr 228 # https://github.com/boostorg/smart_ptr/issues/115 229 (fetchpatch { ··· 301 # Fix compilation to 32-bit ARM with clang in downstream packages 302 # https://github.com/ned14/outcome/pull/308 303 # https://github.com/boostorg/json/pull/1064 304 - postPatch = lib.optionalString (lib.versionAtLeast version "1.87") '' 305 substituteInPlace \ 306 boost/outcome/outcome_gdb.h \ 307 boost/outcome/experimental/status-code/status_code.hpp \
··· 168 169 patches = 170 patches 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 175 ++ lib.optional (version == "1.77.0") (fetchpatch { 176 url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; 177 relative = "include"; ··· 214 extraPrefix = "libs/python/"; 215 }) 216 ] 217 + 218 + ++ lib.optional ( 219 + lib.versionAtLeast version "1.81" && lib.versionOlder version "1.88" && stdenv.cc.isClang 220 + ) ./fix-clang-target.patch 221 ++ lib.optional (lib.versionAtLeast version "1.86" && lib.versionOlder version "1.87") [ 222 # Backport fix for NumPy 2 support. 223 (fetchpatch { ··· 228 hash = "sha256-0IHK55JSujYcwEVOuLkwOa/iPEkdAKQlwVWR42p/X2U="; 229 }) 230 ] 231 + ++ lib.optional (version == "1.87.0") [ 232 # Fix operator<< for shared_ptr and intrusive_ptr 233 # https://github.com/boostorg/smart_ptr/issues/115 234 (fetchpatch { ··· 306 # Fix compilation to 32-bit ARM with clang in downstream packages 307 # https://github.com/ned14/outcome/pull/308 308 # https://github.com/boostorg/json/pull/1064 309 + postPatch = lib.optionalString (version == "1.87.0") '' 310 substituteInPlace \ 311 boost/outcome/outcome_gdb.h \ 312 boost/outcome/experimental/status-code/status_code.hpp \
+1
pkgs/top-level/all-packages.nix
··· 9023 boost183 9024 boost186 9025 boost187 9026 ; 9027 9028 boost = boost187;
··· 9023 boost183 9024 boost186 9025 boost187 9026 + boost188 9027 ; 9028 9029 boost = boost187;