2021-06-30 01:21:55 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kirc";
|
2022-03-12 09:19:06 +00:00
|
|
|
version = "0.3.1";
|
2021-06-30 01:21:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mcpcpc";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-03-12 09:19:06 +00:00
|
|
|
hash = "sha256-bLBrkbW/Iv1v9z5NOiMAA/dH5/9FlqusRV5rSqjdlPw=";
|
2021-06-30 01:21:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
|
2022-03-12 09:19:06 +00:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2021-06-30 01:21:55 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://kirc.io/";
|
|
|
|
description = "Tiny IRC client written in C99";
|
|
|
|
longDescription = ''
|
|
|
|
kirc is a tiny open-source Internet Relay Chat (IRC) client designed with
|
|
|
|
usability and cross-platform compatibility in mind.
|
|
|
|
|
|
|
|
It features:
|
|
|
|
- No dependencies other than a C99 compiler.
|
|
|
|
- Simple Authentication and Security Layer (SASL) procotol support.
|
|
|
|
- Client-to-client (CTCP) protocol support.
|
|
|
|
- Transport Layer Security (TLS) protocol support (via external
|
|
|
|
utilities).
|
|
|
|
- Simple chat history logging.
|
|
|
|
- Asynchronous message handling.
|
|
|
|
- Multi-channel joining at server connection.
|
|
|
|
- Full support for all RFC 2812 commands.
|
|
|
|
- Easy customized color scheme definition.
|
|
|
|
'';
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|