blob: 670725c2cd68151ed20ce361d956a3c0c8d6c893 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{ lib
, stdenv
, fetchFromGitHub
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-http
, aws-c-io
, aws-c-sdkutils
, cmake
, nix
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-c-auth";
version = "0.7.17";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-auth";
rev = "v${version}";
hash = "sha256-dSb8VgL/fxU7yHomj/ThcLCrGrvern1ESho5oM39Um4=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-cal
aws-c-common
aws-c-compression
aws-c-http
aws-c-io
s2n-tls
];
propagatedBuildInputs = [
aws-c-sdkutils
];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
passthru.tests = {
inherit nix;
};
meta = with lib; {
description = "C99 library implementation of AWS client-side authentication";
homepage = "https://github.com/awslabs/aws-c-auth";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}
|