fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 aws-c-cal,
6 aws-c-common,
7 aws-c-compression,
8 aws-c-io,
9 cmake,
10 nix,
11 s2n-tls,
12}:
13
14stdenv.mkDerivation rec {
15 pname = "aws-c-http";
16 # nixpkgs-update: no auto update
17 version = "0.9.2";
18
19 src = fetchFromGitHub {
20 owner = "awslabs";
21 repo = "aws-c-http";
22 rev = "v${version}";
23 hash = "sha256-3nT64dFUcuwPfhQDwY5MTe/xPdr7XZMBpVL7V0y9tng=";
24 };
25
26 nativeBuildInputs = [
27 cmake
28 ];
29
30 buildInputs = [
31 aws-c-cal
32 aws-c-common
33 aws-c-compression
34 aws-c-io
35 s2n-tls
36 ];
37
38 cmakeFlags = [
39 "-DBUILD_SHARED_LIBS=ON"
40 ];
41
42 passthru.tests = {
43 inherit nix;
44 };
45
46 meta = with lib; {
47 description = "C99 implementation of the HTTP/1.1 and HTTP/2 specifications";
48 homepage = "https://github.com/awslabs/aws-c-http";
49 license = licenses.asl20;
50 platforms = platforms.unix;
51 maintainers = with maintainers; [ r-burns ];
52 };
53}