2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-09-20 21:38:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "redir";
|
2019-04-07 14:32:36 +00:00
|
|
|
version = "3.3";
|
2015-09-20 21:38:40 +00:00
|
|
|
|
2017-02-02 17:54:10 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "troglobit";
|
|
|
|
repo = "redir";
|
|
|
|
rev = "v${version}";
|
2019-04-07 14:32:36 +00:00
|
|
|
sha256 = "13n401i3q0xwpfgr21y47kgihi057wbh59xlsna8b8zpm973qny1";
|
2015-09-20 21:38:40 +00:00
|
|
|
};
|
|
|
|
|
2017-02-02 17:54:10 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-09-20 21:38:40 +00:00
|
|
|
|
|
|
|
meta = {
|
2017-02-02 17:54:10 +00:00
|
|
|
description = "A TCP port redirector for UNIX";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/troglobit/redir";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-09-20 21:38:40 +00:00
|
|
|
};
|
|
|
|
}
|