n2n: init at 2.8

This commit is contained in:
Malte Voos 2021-07-11 10:20:59 +02:00
parent f085e22dc2
commit 2e090199f6
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "n2n";
version = "2.8";
src = fetchFromGitHub {
owner = "ntop";
repo = "n2n";
rev = version;
hash = "sha256-2xJ8gYVZJZoKs6PZ/9GacgxQ+/3tmnRntT1AbPe1At4=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
postPatch = ''
patchShebangs autogen.sh
'';
preAutoreconf = ''
./autogen.sh
'';
PREFIX = placeholder "out";
meta = with lib; {
description = "Peer-to-peer VPN";
homepage = "https://www.ntop.org/products/n2n/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ malvo ];
};
}

View file

@ -3067,6 +3067,8 @@ in
mq-cli = callPackage ../tools/system/mq-cli { };
n2n = callPackage ../tools/networking/n2n { };
nextdns = callPackage ../applications/networking/nextdns { };
ngadmin = callPackage ../applications/networking/ngadmin { };