at 23.11-beta 41 lines 1.1 kB view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "chisel"; 8 version = "1.9.1"; 9 10 src = fetchFromGitHub { 11 owner = "jpillora"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-hZm0dVDwX6cHiN0TvAcHCWbMAf+k9CCQfC9nlV2vfN4="; 15 }; 16 17 vendorHash = "sha256-i6Fb+jSP6LzZoPTHhjQi3YbPBWY6OmsORV8ATcLrHG0="; 18 19 ldflags = [ 20 "-s" 21 "-w" 22 "-X=github.com/jpillora/chisel/share.BuildVersion=${version}" 23 ]; 24 25 # Tests require access to the network 26 doCheck = false; 27 28 meta = with lib; { 29 description = "TCP/UDP tunnel over HTTP"; 30 longDescription = '' 31 Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via 32 SSH. Single executable including both client and server. Chisel is 33 mainly useful for passing through firewalls, though it can also be 34 used to provide a secure endpoint into your network. 35 ''; 36 homepage = "https://github.com/jpillora/chisel"; 37 changelog = "https://github.com/jpillora/chisel/releases/tag/v${version}"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}