1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #29451 from jerith666/client-ip-echo-1709

client-ip-echo: init at 0.1.0.1
This commit is contained in:
Jörg Thalheim 2017-09-21 19:33:22 +01:00 committed by GitHub
commit 217add9043
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,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;
}

View file

@ -0,0 +1,2 @@
{ pkgs }:
pkgs.haskellPackages.callPackage ./client-ip-echo.nix { }

View file

@ -1502,6 +1502,8 @@ with pkgs;
clex = callPackage ../tools/misc/clex { };
client-ip-echo = callPackage ../servers/misc/client-ip-echo { };
cloc = callPackage ../tools/misc/cloc {
inherit (perlPackages) perl AlgorithmDiff RegexpCommon;
};