1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, aws-c-io, aws-checksums, nix, s2n-tls, libexecinfo }:
3 stdenv.mkDerivation rec {
4 pname = "aws-c-event-stream";
7 src = fetchFromGitHub {
11 sha256 = "sha256-2MPTr1vSUPuemdlQIalZTp6eGXJl3Xr1eUEnZjikBzg=";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ aws-c-cal aws-c-common aws-c-io aws-checksums s2n-tls ]
17 ++ lib.optional stdenv.hostPlatform.isMusl libexecinfo;
20 "-DBUILD_SHARED_LIBS:BOOL=ON"
28 description = "C99 implementation of the vnd.amazon.eventstream content-type";
29 homepage = "https://github.com/awslabs/aws-c-event-stream";
30 license = licenses.asl20;
31 platforms = platforms.unix;
32 maintainers = with maintainers; [ orivej eelco ];