diff options
author | Robin Gloster <robin@loc-com.de> | 2015-09-20 21:38:40 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2015-12-10 16:09:32 +0000 |
commit | 171d622fcd1f28c87b2f47ed4c9e96a6d637b25f (patch) | |
tree | b268226662847a62aa7af581a78b4d4209cd234f /pkgs/tools/networking/redir | |
parent | 781b9eab6163bba203dd536c965bc0b153522d6d (diff) |
redir: init at 2.2.1
Diffstat (limited to 'pkgs/tools/networking/redir')
-rw-r--r-- | pkgs/tools/networking/redir/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/networking/redir/default.nix b/pkgs/tools/networking/redir/default.nix new file mode 100644 index 0000000000000..1fcb73e00dc46 --- /dev/null +++ b/pkgs/tools/networking/redir/default.nix @@ -0,0 +1,23 @@ +{ 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; + }; +} |