3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/corkscrew/default.nix
Yann Hodique 9a40af11c3 corkscrew: fix darwin build
corkscrew ships outdated versions of config.{sub,guess}. Point to
automake version instead.
2015-12-13 14:31:00 -08:00

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;
};
}