2012-11-28 22:29:11 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "connect-1.95";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://savannah.gnu.org/maintenance/connect.c;
|
|
|
|
sha256 = "11dx07pcanwaq71g4xh8d4blr5j7iy0ilmb0fkgpj8p22blb74mf";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = "unpackPhase buildPhase fixupPhase";
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
cp $src connect.c
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $out/bin
|
2012-11-28 22:29:11 +00:00
|
|
|
gcc -o $out/bin/connect connect.c
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01: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.
|
|
|
|
'';
|
|
|
|
homepage = http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html; # source URL is busted there
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
|
|
|
};
|
|
|
|
}
|