1 {lib, stdenv, fetchurl, lzo, openssl, zlib}:
3 stdenv.mkDerivation rec {
8 url = "https://www.tinc-vpn.org/packages/tinc-${version}.tar.gz";
9 sha256 = "021i2sl2mjscbm8g59d7vs74iw3gf0m48wg7w3zhwj6czarkpxs0";
12 buildInputs = [ lzo openssl zlib ];
15 "--localstatedir=/var"
19 #passthru.tests = { inherit (nixosTests) tinc; }; # test uses tinc_pre
22 description = "VPN daemon with full mesh routing";
24 tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
25 encryption to create a secure private network between hosts on the
26 Internet. It features full mesh routing, as well as encryption,
27 authentication, compression and ethernet bridging.
29 homepage="http://www.tinc-vpn.org/";
30 license = lib.licenses.gpl2Plus;
31 mainProgram = "tincd";
32 platforms = lib.platforms.unix;