summary refs log tree commit diff
path: root/pkgs/tools/networking/ghostunnel/default.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-08-01 01:03:57 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-08-01 01:07:21 +0200
commitda663a953bb3345288acc0f890173ae3e5b34880 (patch)
treeefbc0e8839aef75f1f3a4e1df97956007176d86b /pkgs/tools/networking/ghostunnel/default.nix
parent1cfc98dca074f186b1680f81d1ed4896bd42332a (diff)
downloadnixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar.gz
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar.bz2
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar.lz
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar.xz
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.tar.zst
nixpkgs-da663a953bb3345288acc0f890173ae3e5b34880.zip
ghostunnel: 1.5.3 -> 1.6.0
Diffstat (limited to 'pkgs/tools/networking/ghostunnel/default.nix')
-rw-r--r--pkgs/tools/networking/ghostunnel/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/tools/networking/ghostunnel/default.nix b/pkgs/tools/networking/ghostunnel/default.nix
index 5d00b493bc3..d93ac670500 100644
--- a/pkgs/tools/networking/ghostunnel/default.nix
+++ b/pkgs/tools/networking/ghostunnel/default.nix
@@ -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";