nixpkgs/pkgs/tools/networking/redir/default.nix

24 lines
582 B
Nix
Raw Normal View History

2017-02-02 18:54:10 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook }:
2015-09-20 23:38:40 +02:00
stdenv.mkDerivation rec {
pname = "redir";
version = "3.3";
2015-09-20 23:38:40 +02:00
2017-02-02 18:54:10 +01:00
src = fetchFromGitHub {
owner = "troglobit";
repo = "redir";
rev = "v${version}";
sha256 = "13n401i3q0xwpfgr21y47kgihi057wbh59xlsna8b8zpm973qny1";
2015-09-20 23:38:40 +02:00
};
2017-02-02 18:54:10 +01:00
nativeBuildInputs = [ autoreconfHook ];
2015-09-20 23:38:40 +02:00
meta = {
2017-02-02 18:54:10 +01:00
description = "A TCP port redirector for UNIX";
homepage = https://github.com/troglobit/redir;
2015-09-20 23:38:40 +02:00
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ];
2015-09-20 23:38:40 +02:00
platforms = stdenv.lib.platforms.linux;
};
}