Updating openvpn to a non-release_candidate newer version, and becoming maintainer.
[nixpkgs-libre.git] / pkgs / tools / networking / openvpn / default.nix
blobaebe79453529aba303a002bdc45b8bf18a7a6dae
1 {stdenv, fetchurl, iproute, lzo, openssl, nettools}:
3 stdenv.mkDerivation rec {
4   name = "openvpn-2.1.1";
6   src = fetchurl {
7     url = "http://openvpn.net/release/${name}.tar.gz";
8     sha256 = "0hj8cdwgdxfsvjxnw4byys3ij719cg9bl9iadcchayzzymx0s653";
9   };
11   buildInputs = [ iproute lzo openssl ];
13   configureFlags = ''
14     --with-ifconfig-path=${nettools}/sbin/ifconfig
15     --with-iproute-path=${iproute}/sbin/ip
16     --with-route-path=${nettools}/sbin/route
17   '';
19   meta = { 
20       description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";
21       homepage="http://openvpn.net/";
22       license = "GPLv2";
23       maintainers = with stdenv.lib.maintainers; [viric];
24       platforms = with stdenv.lib.platforms; linux;
25   };