mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #132260 from hercules-ci/ghostunnel-1.6.0
ghostunnel: 1.5.3 -> 1.6.0
This commit is contained in:
commit
db927ce63c
@ -7,16 +7,25 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ghostunnel";
|
||||
version = "1.5.3";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ghostunnel";
|
||||
repo = "ghostunnel";
|
||||
rev = "v${version}";
|
||||
sha256 = "15rmd89j7sfpznzznss899smizbyshprsrvsdmrbhb617myd9fpy";
|
||||
sha256 = "sha256-EE8gCm/gOp3lmCx1q4PahulipLoBZnEatNAVUXzHIVw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "1i95fx4a0fh6id6iy6afbva4pazr7ym6sbwi9r7la6gxzyncd023";
|
||||
vendorSha256 = "sha256-XgmvqB1PCfL2gSDqwqauSixk8vlINHRmX6U0h9EXXdU=";
|
||||
|
||||
deleteVendor = true;
|
||||
|
||||
# The certstore directory isn't recognized as a subpackage, but is when moved
|
||||
# into the vendor directory.
|
||||
postUnpack = ''
|
||||
mkdir -p $sourceRoot/vendor/ghostunnel
|
||||
mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications";
|
||||
@ -26,4 +35,5 @@ buildGoModule rec {
|
||||
};
|
||||
|
||||
passthru.tests.nixos = nixosTests.ghostunnel;
|
||||
passthru.tests.podman = nixosTests.podman-tls-ghostunnel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user