python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / croaring / default.nix
blob5c1afcbf136589dba3827acd8bcf287ee3da118c
1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
3 stdenv.mkDerivation rec {
4   pname = "croaring";
5   version = "0.2.61";
7   src = fetchFromGitHub {
8     owner = "RoaringBitmap";
9     repo = "CRoaring";
10     rev = "v${version}";
11     sha256 = "14y8iwv6b6gg7hgs00yqg8rwx4vwbb1zs2s99lxa51zx9vp1alcn";
12   };
14   patches = fetchpatch {
15     url = "https://github.com/RoaringBitmap/CRoaring/commit/8d8c60736f506b2b8f1c365148a8a541b26a55f2.patch";
16     sha256 = "1y2mbn4i8lj3lkn5s8zziyr9pl1fq9hndzz9c01dkv3s8sn7f55s";
17   };
19   nativeBuildInputs = [ cmake ];
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   };