croaring: 4.3.1 -> 4.6.1

This commit is contained in:
Hythera
2026-04-09 19:53:21 +02:00
parent db66145ca7
commit a86155865e
+11 -2
View File
@@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "croaring";
version = "4.3.1";
version = "4.6.1";
src = fetchFromGitHub {
owner = "RoaringBitmap";
repo = "CRoaring";
tag = "v${finalAttrs.version}";
hash = "sha256-c4o8AMCtDGLChXxJKJyxkWhuYu7axqLb2ce8IOGk920=";
hash = "sha256-wks7kkF0va7RUJXY74ku/yWTSsHQKlFczfhAHyuNudM=";
};
# roaring.pc.in cannot handle absolute CMAKE_INSTALL_*DIRs, nor
@@ -28,6 +28,15 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
postPatch = ''
# Fixes the build of dependent projects by updating the supported
# CMake version.
# Issue: https://github.com/RoaringBitmap/CRoaring/issues/793
# PR: https://github.com/RoaringBitmap/CRoaring/pull/794
substituteInPlace CMakeLists.txt \
--replace-fail '2.8...3.15' '3.15'
'';
preConfigure = ''
mkdir -p dependencies/.cache
ln -s ${