1 { lib, stdenv, fetchFromGitHub, cmake, aws-c-common, openssl, Security }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "04acra1mnzw9q7jycs5966akfbgnx96hkrq90nq0dhw8pvarlyv6";
14 nativeBuildInputs = [ cmake ];
16 buildInputs = [ aws-c-common openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
19 "-DBUILD_SHARED_LIBS=ON"
20 "-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
24 description = "AWS Crypto Abstraction Layer ";
25 homepage = "https://github.com/awslabs/aws-c-cal";
26 license = licenses.asl20;
27 platforms = platforms.unix;
28 maintainers = with maintainers; [ orivej ];