nixpkgs/pkgs/tools/networking/openvpn/default.nix
Lluís Batlle i Rossell 8bfde9d310 Updating openvpn to a non-release_candidate newer version, and becoming maintainer.
svn path=/nixpkgs/trunk/; revision=19941
2010-02-11 16:45:19 +00:00

27 lines
768 B
Nix

{stdenv, fetchurl, iproute, lzo, openssl, nettools}:
stdenv.mkDerivation rec {
name = "openvpn-2.1.1";
src = fetchurl {
url = "http://openvpn.net/release/${name}.tar.gz";
sha256 = "0hj8cdwgdxfsvjxnw4byys3ij719cg9bl9iadcchayzzymx0s653";
};
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;
};
}