boost182: init at 1.82.0
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
abdbf67a29
commit
e73da62a1d
14
pkgs/development/libraries/boost/1.82.nix
Normal file
14
pkgs/development/libraries/boost/1.82.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ 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";
|
||||||
|
};
|
||||||
|
})
|
|
@ -32,4 +32,5 @@ in {
|
||||||
boost179 = makeBoost ./1.79.nix;
|
boost179 = makeBoost ./1.79.nix;
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,7 @@ stdenv.mkDerivation {
|
||||||
platforms = platforms.unix ++ platforms.windows;
|
platforms = platforms.unix ++ platforms.windows;
|
||||||
badPlatforms = optional (versionOlder version "1.59") "aarch64-linux"
|
badPlatforms = optional (versionOlder version "1.59") "aarch64-linux"
|
||||||
++ optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin"
|
++ 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 ];
|
maintainers = with maintainers; [ hjones2199 ];
|
||||||
|
|
||||||
broken =
|
broken =
|
||||||
|
|
|
@ -39,6 +39,8 @@ stdenv.mkDerivation {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/build-system.jam \
|
substituteInPlace src/build-system.jam \
|
||||||
--replace "default-toolset = darwin" "default-toolset = clang-darwin"
|
--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 = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -19507,11 +19507,12 @@ with pkgs;
|
||||||
boost179
|
boost179
|
||||||
boost180
|
boost180
|
||||||
boost181
|
boost181
|
||||||
|
boost182
|
||||||
;
|
;
|
||||||
|
|
||||||
boost16x = boost169;
|
boost16x = boost169;
|
||||||
boost17x = boost179;
|
boost17x = boost179;
|
||||||
boost18x = boost181;
|
boost18x = boost182;
|
||||||
boost = boost17x;
|
boost = boost17x;
|
||||||
|
|
||||||
boost_process = callPackage ../development/libraries/boost-process { };
|
boost_process = callPackage ../development/libraries/boost-process { };
|
||||||
|
|
Loading…
Reference in a new issue