norouter: init at 0.6.4
This commit is contained in:
parent
286ac3ea65
commit
8fbe78de26
35
pkgs/tools/networking/norouter/default.nix
Normal file
35
pkgs/tools/networking/norouter/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "norouter";
|
||||||
|
version = "0.6.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "norouter";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0h5jzxm4fw50781zj76r5ksnxkzsnrygrykpa913v9nd24c09c7m";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-DZ2kcNV8AzNogAUTaeus4rz9gCFo0wm306jcz/cAj0M=";
|
||||||
|
|
||||||
|
subPackages = [ "cmd/norouter" ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
|
||||||
|
$out/bin/norouter --version | grep ${version} > /dev/null
|
||||||
|
|
||||||
|
runHook postInstallCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool to handle unprivileged networking by using multiple loopback addresses";
|
||||||
|
homepage = "https://github.com/norouter/norouter";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ blaggacao ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -28376,6 +28376,8 @@ with pkgs;
|
||||||
|
|
||||||
normalize = callPackage ../applications/audio/normalize { };
|
normalize = callPackage ../applications/audio/normalize { };
|
||||||
|
|
||||||
|
norouter = callPackage ../tools/networking/norouter { };
|
||||||
|
|
||||||
mailspring = callPackage ../applications/networking/mailreaders/mailspring {};
|
mailspring = callPackage ../applications/networking/mailreaders/mailspring {};
|
||||||
|
|
||||||
mm = callPackage ../applications/networking/instant-messengers/mm { };
|
mm = callPackage ../applications/networking/instant-messengers/mm { };
|
||||||
|
|
Loading…
Reference in a new issue