mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
48216ba01a
svn path=/nixpkgs/trunk/; revision=15380
23 lines
627 B
Nix
23 lines
627 B
Nix
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";
|
|
};
|
|
}
|