2017-02-02 17:54:10 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-09-20 22:38:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-02 17:54:10 +00:00
|
|
|
name = "redir-${version}";
|
2018-03-15 10:38:06 +00:00
|
|
|
version = "3.2";
|
2015-09-20 22:38:40 +01:00
|
|
|
|
2017-02-02 17:54:10 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "troglobit";
|
|
|
|
repo = "redir";
|
|
|
|
rev = "v${version}";
|
2018-03-15 10:38:06 +00:00
|
|
|
sha256 = "015vxpy6n7xflkq0lgls4f4vw7ynvv2635bwykzglin3v5ssrm2k";
|
2015-09-20 22:38:40 +01:00
|
|
|
};
|
|
|
|
|
2017-02-02 17:54:10 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-09-20 22:38:40 +01:00
|
|
|
|
|
|
|
meta = {
|
2017-02-02 17:54:10 +00:00
|
|
|
description = "A TCP port redirector for UNIX";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/troglobit/redir;
|
2015-09-20 22:38:40 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ globin ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|