1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-common, nix }:
3 stdenv.mkDerivation rec {
4 pname = "aws-checksums";
7 src = fetchFromGitHub {
11 sha256 = "sha256-OoEwubEEkLJmlqmQR4/rp4+b1WYJEbcjYDSdXXHleZQ=";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ aws-c-common ];
19 "-DBUILD_SHARED_LIBS=ON"
27 description = "HW accelerated CRC32c and CRC32";
28 homepage = "https://github.com/awslabs/aws-checksums";
29 license = licenses.asl20;
30 platforms = platforms.unix;
31 maintainers = with maintainers; [ orivej eelco ];