nixpkgs/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix

17 lines
576 B
Nix
Raw Normal View History

2017-09-17 03:16:53 +02:00
{ mkDerivation, fetchFromGitHub, base, bytestring, network, stdenv }:
mkDerivation {
pname = "client-ip-echo";
2018-11-08 03:54:10 +01:00
version = "0.1.0.3";
2017-09-17 03:16:53 +02:00
src = fetchFromGitHub {
owner = "jerith666";
repo = "client-ip-echo";
2018-11-08 03:54:10 +01:00
rev = "8d1a79d94a962b3266c1db51200913c2295d8922";
sha256 = "1g1s7i68n3906m3yjfygw96j64n8nh88lmf77blnz0xzrq4y3bgf";
2017-09-17 03:16:53 +02:00
};
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;
}