git.iko.soy/typeable/nixpkgs
on master help sign in
chisel: init at 1.7.3
commit383e70518af8101fb9c4a103644df1b0c1c90d20 authorFabian Affolter <mail@fabian-affolter.ch> dateMon 11 Jan 2021, 22:41 (6 years ago) parent82425ca
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
@@ -1806,6 +1806,8 @@ in
18061806
18071807 chelf = callPackage ../tools/misc/chelf { };
18081808
1809+ chisel = callPackage ../tools/networking/chisel { };
1810+
18091811 cht-sh = callPackage ../tools/misc/cht.sh { };
18101812
18111813 ckbcomp = callPackage ../tools/X11/ckbcomp { };