libblake3: 1.6.1 -> 1.7.0

This commit is contained in:
silvanshade
2025-03-18 15:29:29 -06:00
parent cd9a523a9e
commit b49ff29cff
+8 -5
View File
@@ -3,26 +3,29 @@
stdenv,
cmake,
fetchFromGitHub,
tbb_2022_0,
useTBB ? true,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libblake3";
version = "1.6.1";
version = "1.7.0";
src = fetchFromGitHub {
owner = "BLAKE3-team";
repo = "BLAKE3";
tag = finalAttrs.version;
hash = "sha256-YJ3rRzpmF6oS8p377CEoRteARCD1lr/L7/fbN5poUXw=";
hash = "sha256-08D5hnU3I0VJ+RM/TNk2LxsEAvOLuO52+08zlKssXbc=";
};
sourceRoot = finalAttrs.src.name + "/c";
nativeBuildInputs = [
cmake
];
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals useTBB [ tbb_2022_0 ];
cmakeFlags = [
(lib.cmakeBool "BLAKE3_USE_TBB" useTBB)
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];