about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/corkscrew/default.nix
blob: 9394b123bbe6f41ff621a9c06068f7de39ab52d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 stdenv.lib; {
    homepage    = http://agroman.net/corkscrew/;
    description = "A tool for tunneling SSH through HTTP proxies";
    license = stdenv.lib.licenses.gpl2;
    platforms = platforms.unix;
  };
}