redir: 2.2.1 -> 3.1

This commit is contained in:
Robin Gloster
2017-02-02 18:59:07 +01:00
parent a0aacdd199
commit 8821ef9dc5
+11 -11
View File
@@ -1,21 +1,21 @@
{ stdenv, fetchurl }: { stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "redir-2.2.1"; name = "redir-${version}";
version = "3.1";
src = fetchurl { src = fetchFromGitHub {
url = "http://sammy.net/~sammy/hacks/${name}.tar.gz"; owner = "troglobit";
sha256 = "0v0f14br00rrmd1ss644adsby4gm29sn7a2ccy7l93ik6pw099by"; repo = "redir";
rev = "v${version}";
sha256 = "1m05dchi15bzz9zfdb7jg59624sx4khp5zq0wf4pzr31s64f69cx";
}; };
installPhase = '' nativeBuildInputs = [ autoreconfHook ];
mkdir -p $out/bin
cp redir $out/bin
'';
meta = { meta = {
description = "A port redirector"; description = "A TCP port redirector for UNIX";
homepage = http://sammy.net/~sammy/hacks/; homepage = "https://github.com/troglobit/redir";
license = stdenv.lib.licenses.gpl2; license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ globin ]; maintainers = with stdenv.lib.maintainers; [ globin ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;