depot/third_party/nixpkgs/pkgs/tools/networking/redir/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

24 lines
596 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "redir";
version = "3.3";
src = fetchFromGitHub {
owner = "troglobit";
repo = "redir";
rev = "v${version}";
sha256 = "13n401i3q0xwpfgr21y47kgihi057wbh59xlsna8b8zpm973qny1";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "TCP port redirector for UNIX";
homepage = "https://github.com/troglobit/redir";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.unix;
mainProgram = "redir";
};
}