python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / aws-checksums / default.nix
blob4f5c346556720149aafcacfee7ab167a1975586d
1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-common }:
3 stdenv.mkDerivation rec {
4   pname = "aws-checksums";
5   version = "0.1.13";
7   src = fetchFromGitHub {
8     owner = "awslabs";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-pSUSJTbwKYF2GsJG8DhLxxsv1ssp+/1c2gMY4dXbdFQ=";
12   };
14   nativeBuildInputs = [ cmake ];
16   buildInputs = [ aws-c-common ];
18   cmakeFlags = [
19     "-DBUILD_SHARED_LIBS=ON"
20   ];
22   meta = with lib; {
23     description = "HW accelerated CRC32c and CRC32";
24     homepage = "https://github.com/awslabs/aws-checksums";
25     license = licenses.asl20;
26     platforms = platforms.unix;
27     maintainers = with maintainers; [ orivej eelco ];
28   };