rinetd: init at 0.73

This commit is contained in:
Janik H 2023-05-28 00:54:53 +02:00
parent 901f3e3cad
commit ab5623a718
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, autoreconfHook
, fetchFromGitHub
, rinetd
, stdenv
, testers
}:
stdenv.mkDerivation rec {
pname = "rinetd";
version = "0.73";
src = fetchFromGitHub {
owner = "samhocevar";
repo = "rinetd";
rev = "v${version}";
hash = "sha256-W8PLGd3RwmBTh1kw3k8+ZfP6AzRhZORCkxZzQ9ZbPN4=";
};
nativeBuildInputs = [
autoreconfHook
];
preConfigure = ''
./bootstrap
'';
passthru.tests.version = testers.testVersion {
package = rinetd;
command = "rinetd --version";
};
meta = with lib; {
description = "TCP/UDP port redirector";
homepage = "https://github.com/samhocevar/rinetd";
changelog = "https://github.com/samhocevar/rinetd/blob/${src.rev}/CHANGES.md";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ janik ];
};
}

View file

@ -38652,6 +38652,8 @@ with pkgs;
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv; stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
}); });
rinetd = callPackage ../servers/rinetd { };
rink = callPackage ../applications/science/misc/rink { rink = callPackage ../applications/science/misc/rink {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };