nixpkgs/pkgs/tools/networking/openvpn/default.nix

24 lines
627 B
Nix
Raw Normal View History

args: with args;
stdenv.mkDerivation {
name = "OpenVPN-2.1_rc15";
src = fetchurl {
url = http://openvpn.net/release/openvpn-2.1_rc15.tar.gz;
sha256 = "198k5lbw0bnx67hgflzlzncmdnww0wa7fll0kkirmckav93y7kv6";
};
buildInputs = [ iproute lzo openssl ];
configureFlags = ''
--with-ifconfig-path=${nettools}/sbin/ifconfig
--with-iproute-path=${iproute}/sbin/ip
--with-route-path=${nettools}/sbin/route
'';
meta = {
description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";
homepage="http://openvpn.net/";
license = "GPLv2";
};
}