http2tcp: init at 0.5

authored by Christian Lütke-Stetzkamp and committed by Jon 403a4b1c 93919c66

+49
+47
pkgs/tools/networking/http2tcp/default.nix
··· 1 + { lib 2 + , python3 3 + , stdenv 4 + , fetchurl 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "http2tcp"; 9 + version = "0.5"; 10 + 11 + src = fetchurl { 12 + url = "https://www.linta.de/~aehlig/http2tcp/${pname}-${version}.tar.gz"; 13 + sha256 = "34fb83c091689dee398ca80db76487e0c39abb17cef390d845ffd888009a5caa"; 14 + }; 15 + 16 + buildInputs = [ 17 + (python3.withPackages (ps: [ 18 + ps.wsgitools 19 + ])) 20 + ]; 21 + 22 + dontBuild = true; 23 + 24 + installPhase = '' 25 + mkdir -p $out/{bin,share/${pname}} 26 + cp http2tcp* $out/bin 27 + cp Protocol $out/share/${pname}/ 28 + ''; 29 + 30 + meta = with lib; { 31 + maintainers = with maintainers; [ clkamp ]; 32 + description = "A tool for tunneling TCP connections via HTTP GET requests"; 33 + longDescription = '' 34 + The http2tcp tools allow to tunnel tcp connections (presumably 35 + ssh) via syntactically correct http requests. It is designed to 36 + work in the presence of so-called "transparent" 37 + store-and-forward proxies disallowing POST requests. 38 + 39 + It also turned out to be useful to stabilise connections where 40 + the client's internet connection is unreliable (frequent long 41 + network outages, rapidly changing IP address, etc). 42 + ''; 43 + homepage = "https://www.linta.de/~aehlig/http2tcp/"; 44 + license = licenses.bsd3; 45 + platforms = platforms.all; 46 + }; 47 + }
+2
pkgs/top-level/all-packages.nix
··· 960 960 961 961 hpe-ltfs = callPackage ../tools/backup/hpe-ltfs { }; 962 962 963 + http2tcp = callPackage ../tools/networking/http2tcp { }; 964 + 963 965 httperf = callPackage ../tools/networking/httperf { }; 964 966 965 967 ili2c = callPackage ../tools/misc/ili2c { };