2012-11-28 22:29:11 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2017-03-02 02:09:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-12-23 15:07:39 +00:00
|
|
|
name = "connect-${version}";
|
2017-03-02 02:09:46 +00:00
|
|
|
version ="1.105";
|
|
|
|
|
2012-11-28 22:29:11 +00:00
|
|
|
src = fetchurl {
|
2014-12-23 15:07:39 +00:00
|
|
|
url = "https://bitbucket.org/gotoh/connect/get/${version}.tar.bz2";
|
2017-03-02 02:09:46 +00:00
|
|
|
sha256 = "00yld6yinc8s4xv3b8kbvzn2f4rja5dmp6ysv3n4847qn4k60dh7";
|
2012-11-28 22:29:11 +00:00
|
|
|
};
|
|
|
|
|
2014-12-23 15:07:39 +00:00
|
|
|
makeFlags = [ "CC=cc" ]; # gcc and/or clang compat
|
2012-11-28 22:29:11 +00:00
|
|
|
|
2014-12-23 15:07:39 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -D -m ugo=rx connect $out/bin/connect
|
2012-11-28 22:29:11 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Make network connection via SOCKS and https proxy";
|
2012-11-28 22:29:11 +00:00
|
|
|
longDescription = ''
|
|
|
|
This proxy traversal tool is intended to assist OpenSSH (via ProxyCommand
|
|
|
|
in ~/.ssh/config) and GIT (via $GIT_PROXY_COMMAND) utilize SOCKS and https proxies.
|
|
|
|
'';
|
2014-12-23 15:07:39 +00:00
|
|
|
homepage = https://bitbucket.org/gotoh/connect/wiki/Home;
|
2012-11-28 22:29:11 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2018-06-18 20:22:31 +00:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2012-11-28 22:29:11 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
|
|
|
};
|
|
|
|
}
|