depot/third_party/nixpkgs/pkgs/tools/networking/redir/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

24 lines
598 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 = "A 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";
};
}