lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 45 lines 1.5 kB view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, texinfo, ncurses, readline, zlib, lzo, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "tinc"; 5 version = "1.1pre18"; 6 7 src = fetchFromGitHub { 8 owner = "gsliepen"; 9 repo = "tinc"; 10 rev = "release-${version}"; 11 hash = "sha256-1anjTUlVLx57FlUqGwBd590lfkZ2MmrM1qRcMl4P7Sg="; 12 }; 13 14 outputs = [ "out" "man" "info" ]; 15 16 nativeBuildInputs = [ autoreconfHook texinfo ]; 17 buildInputs = [ ncurses readline zlib lzo openssl ]; 18 19 # needed so the build doesn't need to run git to find out the version. 20 prePatch = '' 21 substituteInPlace configure.ac --replace UNKNOWN ${version} 22 echo "${version}" > configure-version 23 echo "https://tinc-vpn.org/git/browse?p=tinc;a=log;h=refs/tags/release-${version}" > ChangeLog 24 sed -i '/AC_INIT/s/m4_esyscmd_s.*/${version})/' configure.ac 25 ''; 26 27 configureFlags = [ 28 "--sysconfdir=/etc" 29 "--localstatedir=/var" 30 ]; 31 32 meta = with lib; { 33 description = "VPN daemon with full mesh routing"; 34 longDescription = '' 35 tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and 36 encryption to create a secure private network between hosts on the 37 Internet. It features full mesh routing, as well as encryption, 38 authentication, compression and ethernet bridging. 39 ''; 40 homepage="http://www.tinc-vpn.org/"; 41 license = licenses.gpl2Plus; 42 platforms = platforms.unix; 43 maintainers = with maintainers; [ lassulus mic92 ]; 44 }; 45}