1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix
2017-09-16 21:16:53 -04:00

17 lines
576 B
Nix

{ 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;
}