1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-common }:
3 stdenv.mkDerivation rec {
4 pname = "aws-checksums";
7 src = fetchFromGitHub {
11 sha256 = "sha256-pSUSJTbwKYF2GsJG8DhLxxsv1ssp+/1c2gMY4dXbdFQ=";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ aws-c-common ];
19 "-DBUILD_SHARED_LIBS=ON"
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 ];