Merge pull request #129914 from malte-v/n2n
This commit is contained in:
commit
088c406cd7
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/networking/n2n/default.nix
Normal file
32
pkgs/tools/networking/n2n/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -3071,6 +3071,8 @@ in
|
|||
|
||||
mq-cli = callPackage ../tools/system/mq-cli { };
|
||||
|
||||
n2n = callPackage ../tools/networking/n2n { };
|
||||
|
||||
nextdns = callPackage ../applications/networking/nextdns { };
|
||||
|
||||
ngadmin = callPackage ../applications/networking/ngadmin { };
|
||||
|
|
Loading…
Reference in a new issue