1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-cal, aws-c-common, aws-c-io, aws-checksums, s2n-tls, libexecinfo }:
3 stdenv.mkDerivation rec {
4 pname = "aws-c-event-stream";
7 src = fetchFromGitHub {
11 sha256 = "sha256-8Du9Ib3MhPcgetBIi0k1NboaXxZh7iPNhDe7197JnHc=";
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"
21 "-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
25 description = "C99 implementation of the vnd.amazon.eventstream content-type";
26 homepage = "https://github.com/awslabs/aws-c-event-stream";
27 license = licenses.asl20;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ orivej eelco ];