about summary refs log tree commit diff
path: root/pkgs/tools/networking/chisel
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-11 22:41:25 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-11 22:41:25 +0100
commit383e70518af8101fb9c4a103644df1b0c1c90d20 (patch)
treed96a0d249dd503d554cb3a2bcc8986065cf6941a /pkgs/tools/networking/chisel
parent82425ca793a5c9e78afaf6ae7eeda9b0f7f77018 (diff)
chisel: init at 1.7.3
Diffstat (limited to 'pkgs/tools/networking/chisel')
-rw-r--r--pkgs/tools/networking/chisel/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/networking/chisel/default.nix b/pkgs/tools/networking/chisel/default.nix
new file mode 100644
index 0000000000000..d9f232132b916
--- /dev/null
+++ b/pkgs/tools/networking/chisel/default.nix
@@ -0,0 +1,35 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+, stdenv
+}:
+
+buildGoModule rec {
+  pname = "chisel";
+  version = "1.7.3";
+
+  src = fetchFromGitHub {
+    owner = "jpillora";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0dayc0mbvybsydx2r170m5cfmf0p4896vk9xawpk7gncxclrwpv6";
+  };
+
+  vendorSha256 = "01wh8fn76jn8hnf7gj759k8dwqrr0p36xmsxfc8dayzinpl10fqv";
+
+  # tests require access to the network
+  doCheck = false;
+
+  meta = with lib; {
+    description = "TCP/UDP tunnel over HTTP";
+    longDescription = ''
+      Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via
+      SSH. Single executable including both client and server. Chisel is
+      mainly useful for passing through firewalls, though it can also be
+      used to provide a secure endpoint into your network.
+    '';
+    homepage = "https://github.com/jpillora/chisel";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}