2017-09-17 02:16:53 +01:00
|
|
|
{ mkDerivation, fetchFromGitHub, base, bytestring, network, stdenv }:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "client-ip-echo";
|
2019-01-05 22:23:20 +00:00
|
|
|
version = "0.1.0.4";
|
2017-09-17 02:16:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jerith666";
|
|
|
|
repo = "client-ip-echo";
|
2019-01-05 22:23:20 +00:00
|
|
|
rev = "58d1bc627c21008236afb1af4c09ba8153c95dad";
|
|
|
|
sha256 = "153fab87qq080a819bqbdan925045icqwxldwj3ps40w2ssn7a53";
|
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;
|
|
|
|
}
|