about summary refs log tree commit diff
path: root/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix
blob: 08c08d7d3c165c1692327d84524970802e4594e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ mkDerivation, fetchFromGitHub, base, bytestring, network, stdenv }:
mkDerivation {
  pname = "client-ip-echo";
  version = "0.1.0.1";
  src = fetchFromGitHub {
    owner = "jerith666";
    repo = "client-ip-echo";
    rev = "f6e3e115a1e61a387cf79956ead36d7ac25a2901";
    sha256 = "0irxcaiwxxn4ggd2dbya1mvpnyfanx0x06whp8ccrha141cafwqp";
  };
  isLibrary = false;
  isExecutable = true;
  executableHaskellDepends = [ base bytestring network ];
  description = "accepts TCP connections and echoes the client's IP address back to it";
  license = stdenv.lib.licenses.lgpl3;
}