mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
commit
cd77e64454
2 changed files with 37 additions and 0 deletions
35
pkgs/tools/networking/chisel/default.nix
Normal file
35
pkgs/tools/networking/chisel/default.nix
Normal file
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1856,6 +1856,8 @@ in
|
||||||
|
|
||||||
chelf = callPackage ../tools/misc/chelf { };
|
chelf = callPackage ../tools/misc/chelf { };
|
||||||
|
|
||||||
|
chisel = callPackage ../tools/networking/chisel { };
|
||||||
|
|
||||||
cht-sh = callPackage ../tools/misc/cht.sh { };
|
cht-sh = callPackage ../tools/misc/cht.sh { };
|
||||||
|
|
||||||
ckbcomp = callPackage ../tools/X11/ckbcomp { };
|
ckbcomp = callPackage ../tools/X11/ckbcomp { };
|
||||||
|
|
Loading…
Reference in a new issue