mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
48216ba01a
svn path=/nixpkgs/trunk/; revision=15380
24 lines
627 B
Nix
24 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";
|
|
};
|
|
}
|