Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1011 B
Nix
54 lines
1011 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
aws-c-cal,
|
|
aws-c-common,
|
|
aws-c-io,
|
|
aws-checksums,
|
|
nix,
|
|
s2n-tls,
|
|
libexecinfo,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aws-c-event-stream";
|
|
# nixpkgs-update: no auto update
|
|
version = "0.5.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "awslabs";
|
|
repo = "aws-c-event-stream";
|
|
rev = "v${version}";
|
|
hash = "sha256-JvjUrIj1bh5WZEzkauLSLIolxrT8CKIMjO7p1c35XZI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
aws-c-cal
|
|
aws-c-common
|
|
aws-c-io
|
|
aws-checksums
|
|
s2n-tls
|
|
]
|
|
++ lib.optional stdenv.hostPlatform.isMusl libexecinfo;
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_SHARED_LIBS:BOOL=ON"
|
|
];
|
|
|
|
passthru.tests = {
|
|
inherit nix;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "C99 implementation of the vnd.amazon.eventstream content-type";
|
|
homepage = "https://github.com/awslabs/aws-c-event-stream";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ orivej ];
|
|
};
|
|
}
|