14 boost = boost181.override { enableStatic = true; };
15 protobuf = protobuf_21.override { enableShared = false; };
17 stdenv.mkDerivation (finalAttrs: {
21 src = fetchFromGitHub {
22 owner = "aws-samples";
23 repo = "aws-iot-securetunneling-localproxy";
24 rev = "v${finalAttrs.version}";
25 hash = "sha256-bIJLGJhSzBVqJaTWJj4Pmw/shA4Y0CzX4HhHtQZjfj0=";
30 name = "gcc-13.patch";
31 url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/de8779630d14e4f4969c9b171d826acfa847822b.patch";
32 hash = "sha256-11k6mRvCx72+5G/5LZZx2qnx10yfKpcAZofn8t8BD3E=";
36 nativeBuildInputs = [ cmake ];
47 sed -i '/set(OPENSSL_USE_STATIC_LIBS TRUE)/d' CMakeLists.txt
50 # causes redefinition of _FORTIFY_SOURCE
51 hardeningDisable = [ "fortify3" ];
54 description = "AWS IoT Secure Tunneling Local Proxy Reference Implementation C++";
55 homepage = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ spalf ];
58 platforms = platforms.unix;
59 mainProgram = "localproxy";