8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
625 B
Nix
25 lines
625 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aws-checksums";
|
|
version = "0.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "awslabs";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "018fnpn0jc686jxp5wf8qxmjphk3z43l8n1mgcgaa9zw94i24jgk";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS:BOOL=ON" ];
|
|
|
|
meta = with lib; {
|
|
description = "HW accelerated CRC32c and CRC32";
|
|
homepage = "https://github.com/awslabs/aws-checksums";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ orivej eelco ];
|
|
};
|
|
}
|