10 src = fetchFromGitHub {
14 sha256 = "sha256-EY/Yfyaz2DeQKHJ4awpQDbrVkse9crIZlLzfviPy3Tk=";
17 vendorHash = "sha256-RxrmYfEm1Maq8byoLXUr5RfXcwgqpCcAq5enMnl9V9E=";
19 subPackages = [ "cmd/norouter" ];
20 doInstallCheck = true;
21 installCheckPhase = ''
22 runHook preInstallCheck
24 $out/bin/norouter --version | grep ${version} > /dev/null
26 runHook postInstallCheck
30 # Doesn't build with Go >=1.21
31 # https://github.com/norouter/norouter/issues/165
33 description = "Tool to handle unprivileged networking by using multiple loopback addresses";
34 homepage = "https://github.com/norouter/norouter";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ blaggacao ];
37 mainProgram = "norouter";