depot/third_party/nixpkgs/pkgs/tools/networking/n2n/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

32 lines
663 B
Nix

{ 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 ];
};
}