1{ stdenv, fetchurl, automake }:
2
3stdenv.mkDerivation rec {
4 name = "corkscrew-2.0";
5
6 src = fetchurl {
7 url = "http://agroman.net/corkscrew/${name}.tar.gz";
8 sha256 = "0d0fcbb41cba4a81c4ab494459472086f377f9edb78a2e2238ed19b58956b0be";
9 };
10
11 preConfigure = ''
12 ln -sf ${automake}/share/automake-*/config.sub config.sub
13 ln -sf ${automake}/share/automake-*/config.guess config.guess
14 '';
15
16 meta = with stdenv.lib; {
17 homepage = http://agroman.net/corkscrew/;
18 description = "A tool for tunneling SSH through HTTP proxies";
19 license = stdenv.lib.licenses.gpl2;
20 platforms = platforms.unix;
21 };
22}