1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "RoaringBitmap";
11 sha256 = "14y8iwv6b6gg7hgs00yqg8rwx4vwbb1zs2s99lxa51zx9vp1alcn";
14 patches = fetchpatch {
15 url = "https://github.com/RoaringBitmap/CRoaring/commit/8d8c60736f506b2b8f1c365148a8a541b26a55f2.patch";
16 sha256 = "1y2mbn4i8lj3lkn5s8zziyr9pl1fq9hndzz9c01dkv3s8sn7f55s";
19 nativeBuildInputs = [ cmake ];
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;