Merge pull request #245073 from 70m6/feature/localproxy
localproxy: init at 3.1.0
This commit is contained in:
commit
c8ef7eb40f
3 changed files with 43 additions and 0 deletions
|
@ -15651,6 +15651,8 @@
|
|||
spalf = {
|
||||
email = "tom@tombarrett.xyz";
|
||||
name = "tom barrett";
|
||||
github = "70m6";
|
||||
githubId = 105207964;
|
||||
};
|
||||
spease = {
|
||||
email = "peasteven@gmail.com";
|
||||
|
|
39
pkgs/applications/networking/localproxy/default.nix
Normal file
39
pkgs/applications/networking/localproxy/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, openssl
|
||||
, protobuf3_19
|
||||
, catch2
|
||||
, boost181
|
||||
, icu
|
||||
}:
|
||||
let
|
||||
boost = boost181.override { enableStatic = true; };
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "localproxy";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws-samples";
|
||||
repo = "aws-iot-securetunneling-localproxy";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ec72bvBkRBj4qlTNfzNPeQt02OfOPA8y2PoejHpP9cY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ openssl protobuf3_19 catch2 boost icu ];
|
||||
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "AWS IoT Secure Tunneling Local Proxy Reference Implementation C++";
|
||||
homepage = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [spalf];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
|
@ -10265,6 +10265,8 @@ with pkgs;
|
|||
|
||||
lmp = callPackage ../tools/security/lmp { };
|
||||
|
||||
localproxy = callPackage ../applications/networking/localproxy { };
|
||||
|
||||
localstack = with python3Packages; toPythonApplication localstack;
|
||||
|
||||
localtime = callPackage ../tools/system/localtime { };
|
||||
|
|
Loading…
Reference in a new issue