1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "connect-${version}";
5 version ="1.105";
6
7 src = fetchurl {
8 url = "https://bitbucket.org/gotoh/connect/get/${version}.tar.bz2";
9 sha256 = "00yld6yinc8s4xv3b8kbvzn2f4rja5dmp6ysv3n4847qn4k60dh7";
10 };
11
12 makeFlags = [ "CC=cc" ]; # gcc and/or clang compat
13
14 installPhase = ''
15 install -D -m ugo=rx connect $out/bin/connect
16 '';
17
18 meta = {
19 description = "Make network connection via SOCKS and https proxy";
20 longDescription = ''
21 This proxy traversal tool is intended to assist OpenSSH (via ProxyCommand
22 in ~/.ssh/config) and GIT (via $GIT_PROXY_COMMAND) utilize SOCKS and https proxies.
23 '';
24 homepage = https://bitbucket.org/gotoh/connect/wiki/Home;
25 license = stdenv.lib.licenses.gpl2Plus;
26 platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
27 maintainers = with stdenv.lib.maintainers; [ jcumming ];
28 };
29}