lol

connect 1.104

Upstream moved to https://bitbucket.org/gotoh/connect

+12 -13
+12 -13
pkgs/tools/networking/connect/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 - stdenv.mkDerivation rec { 4 - name = "connect-1.95"; 3 + let 4 + 5 + version = "1.104"; 6 + 7 + in stdenv.mkDerivation { 8 + name = "connect-${version}"; 5 9 6 10 src = fetchurl { 7 - url = http://savannah.gnu.org/maintenance/connect.c; 8 - sha256 = "11dx07pcanwaq71g4xh8d4blr5j7iy0ilmb0fkgpj8p22blb74mf"; 11 + url = "https://bitbucket.org/gotoh/connect/get/${version}.tar.bz2"; 12 + sha256 = "0h7bfh1b2kcw5ddpbif57phdxpf8if0cm01pgwc6avp6dqxcsqp2"; 9 13 }; 10 14 11 - phases = "unpackPhase buildPhase fixupPhase"; 15 + makeFlags = [ "CC=cc" ]; # gcc and/or clang compat 12 16 13 - unpackPhase = '' 14 - cp $src connect.c 15 - ''; 16 - 17 - buildPhase = '' 18 - mkdir -p $out/bin 19 - gcc -o $out/bin/connect connect.c 17 + installPhase = '' 18 + install -D -m ugo=rx connect $out/bin/connect 20 19 ''; 21 20 22 21 meta = { ··· 25 24 This proxy traversal tool is intended to assist OpenSSH (via ProxyCommand 26 25 in ~/.ssh/config) and GIT (via $GIT_PROXY_COMMAND) utilize SOCKS and https proxies. 27 26 ''; 28 - homepage = http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html; # source URL is busted there 27 + homepage = https://bitbucket.org/gotoh/connect/wiki/Home; 29 28 license = stdenv.lib.licenses.gpl2Plus; 30 29 platforms = stdenv.lib.platforms.gnu; 31 30 maintainers = with stdenv.lib.maintainers; [ jcumming ];