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