at 24.05-pre 28 lines 788 B view raw
1{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "croaring"; 5 version = "0.2.61"; 6 7 src = fetchFromGitHub { 8 owner = "RoaringBitmap"; 9 repo = "CRoaring"; 10 rev = "v${version}"; 11 sha256 = "14y8iwv6b6gg7hgs00yqg8rwx4vwbb1zs2s99lxa51zx9vp1alcn"; 12 }; 13 14 patches = fetchpatch { 15 url = "https://github.com/RoaringBitmap/CRoaring/commit/8d8c60736f506b2b8f1c365148a8a541b26a55f2.patch"; 16 sha256 = "1y2mbn4i8lj3lkn5s8zziyr9pl1fq9hndzz9c01dkv3s8sn7f55s"; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Compressed bitset library for C and C++"; 23 homepage = "http://roaringbitmap.org/"; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ orivej ]; 26 platforms = platforms.all; 27 }; 28}