3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/redir/default.nix
2015-12-10 16:09:32 +00:00

24 lines
544 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "redir-2.2.1";
src = fetchurl {
url = "http://sammy.net/~sammy/hacks/${name}.tar.gz";
sha256 = "0v0f14br00rrmd1ss644adsby4gm29sn7a2ccy7l93ik6pw099by";
};
installPhase = ''
mkdir -p $out/bin
cp redir $out/bin
'';
meta = {
description = "A port redirector";
homepage = http://sammy.net/~sammy/hacks/;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ globin ];
platforms = stdenv.lib.platforms.linux;
};
}