nixpkgs/pkgs/tools/networking/openvpn/default.nix
Lluís Batlle i Rossell e169ba953d Updating openvpn
svn path=/nixpkgs/trunk/; revision=27153
2011-05-04 18:58:53 +00:00

27 lines
788 B
Nix

{stdenv, fetchurl, iproute, lzo, openssl, nettools}:
stdenv.mkDerivation rec {
name = "openvpn-2.2.0";
src = fetchurl {
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
sha256 = "0rr59b3ybqr2j5jxl2fdzmm5qbh0hvwi03xfaha6s7k4l6mymsvi";
};
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";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}