forked from mirrors/nixpkgs
c37e663ed7
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2/bin/redir -h` got 0 exit code - ran `/nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2/bin/redir --help` got 0 exit code - ran `/nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2/bin/redir -v` and found version 3.2 - ran `/nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2/bin/redir --version` and found version 3.2 - found 3.2 with grep in /nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2 - found 3.2 in filename of file in /nix/store/1d9lg45iqc404f728bdcdr3s3sq9c8wf-redir-3.2
24 lines
599 B
Nix
24 lines
599 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "redir-${version}";
|
|
version = "3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "troglobit";
|
|
repo = "redir";
|
|
rev = "v${version}";
|
|
sha256 = "015vxpy6n7xflkq0lgls4f4vw7ynvv2635bwykzglin3v5ssrm2k";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
meta = {
|
|
description = "A TCP port redirector for UNIX";
|
|
homepage = https://github.com/troglobit/redir;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ globin ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|