summary refs log tree commit diff
path: root/pkgs/tools/networking/corkscrew/default.nix
blob: 58a43c30a9355a44fc361d1ec8e55be32180019a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, automake }:

stdenv.mkDerivation rec {
  name = "corkscrew-2.0";

  src = fetchurl {
    url = "http://agroman.net/corkscrew/${name}.tar.gz";
    sha256 = "0d0fcbb41cba4a81c4ab494459472086f377f9edb78a2e2238ed19b58956b0be";
  };

  preConfigure = ''
    ln -sf ${automake}/share/automake-*/config.sub config.sub
    ln -sf ${automake}/share/automake-*/config.guess config.guess
  '';

  meta = with lib; {
    homepage    = "http://agroman.net/corkscrew/";
    description = "A tool for tunneling SSH through HTTP proxies";
    license = lib.licenses.gpl2;
    platforms = platforms.unix;
  };
}