nixpkgs/pkgs/tools/networking/openvpn/default.nix
Peter Simons 3dd02a75ef openvpn: upgraded to latest version
svn path=/nixpkgs/trunk/; revision=31647
2012-01-18 20:32:17 +00:00

28 lines
815 B
Nix

{stdenv, fetchurl, iproute, lzo, openssl, nettools}:
stdenv.mkDerivation rec {
name = "openvpn-2.2.2";
src = fetchurl {
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
sha256 = "005cpvdvh8pvsn3bc96lrznlkcccbz5jqa62hipb58rf1qk8pjjl";
};
buildInputs = [ iproute lzo openssl ];
configureFlags = ''
--enable-password-save
--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";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}