forked from mirrors/nixpkgs
9a40af11c3
corkscrew ships outdated versions of config.{sub,guess}. Point to automake version instead.
22 lines
595 B
Nix
22 lines
595 B
Nix
{ 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;
|
|
};
|
|
}
|