@@ -0,0 +1,35 @@
1+{ buildGoModule
2+, fetchFromGitHub
3+, lib
4+, stdenv
5+}:
6+
7+buildGoModule rec {
8+ pname = "chisel";
9+ version = "1.7.3";
10+
11+ src = fetchFromGitHub {
12+ owner = "jpillora";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "0dayc0mbvybsydx2r170m5cfmf0p4896vk9xawpk7gncxclrwpv6";
16+ };
17+
18+ vendorSha256 = "01wh8fn76jn8hnf7gj759k8dwqrr0p36xmsxfc8dayzinpl10fqv";
19+
20+ # tests require access to the network
21+ doCheck = false;
22+
23+ meta = with lib; {
24+ description = "TCP/UDP tunnel over HTTP";
25+ longDescription = ''
26+ Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via
27+ SSH. Single executable including both client and server. Chisel is
28+ mainly useful for passing through firewalls, though it can also be
29+ used to provide a secure endpoint into your network.
30+ '';
31+ homepage = "https://github.com/jpillora/chisel";
32+ license = with licenses; [ mit ];
33+ maintainers = with maintainers; [ fab ];
34+ };
35+}