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