17 stdenv.mkDerivation rec {
18 pname = "aws-crt-cpp";
21 outputs = [ "out" "dev" ];
23 src = fetchFromGitHub {
27 sha256 = "sha256-NEsEKUKmADevb8SSc8EFuXLc12fuOf6fXI76yVeDQno=";
31 # Correct include path for split outputs.
32 # https://github.com/awslabs/aws-crt-cpp/pull/325
33 ./0001-build-Make-includedir-properly-overrideable.patch
37 substituteInPlace CMakeLists.txt --replace '-Werror' ""
44 propagatedBuildInputs = [
60 "-DBUILD_SHARED_LIBS=ON"
64 # Prevent dependency cycle.
65 moveToOutput lib/aws-crt-cpp/cmake "$dev"
69 description = "C++ wrapper around the aws-c-* libraries";
70 homepage = "https://github.com/awslabs/aws-crt-cpp";
71 license = licenses.asl20;
72 platforms = platforms.unix;
73 maintainers = with maintainers; [ r-burns ];