git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #108931 from fabaff/chisel

chisel: init at 1.7.3

commitcd77e6445475313b4a460ad6aab8e67209e12246 authorSandro <sandro.jaeckel@gmail.com> dateThu 28 Jan 2021, 18:37 (6 years ago) parenta200631383e705
2 files changed+37
pkgs/tools/networking/chisel/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/chisel/default.nixnew file+35
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -1856,6 +1856,8 @@ in
18561856
18571857 chelf = callPackage ../tools/misc/chelf { };
18581858
1859+ chisel = callPackage ../tools/networking/chisel { };
1860+
18591861 cht-sh = callPackage ../tools/misc/cht.sh { };
18601862
18611863 ckbcomp = callPackage ../tools/X11/ckbcomp { };