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