2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-08-12 20:31:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-01 21:32:47 +00:00
|
|
|
version = "1.10";
|
2016-08-12 20:31:06 +00:00
|
|
|
pname = "libircclient";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
|
2018-09-01 21:32:47 +00:00
|
|
|
sha256 = "0b9wa0h3xc31wpqlvgxgnvqp5wgx3kwsf5s9432m5cj8ycx6zcmv";
|
2016-08-12 20:31:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-shared" ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/Makefile.in \
|
|
|
|
--replace "@prefix@/include" "@prefix@/include/libircclient" \
|
|
|
|
--replace "@libdir@" "@prefix@/lib" \
|
|
|
|
--replace "cp " "install "
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-08-12 20:31:06 +00:00
|
|
|
description = "A small but extremely powerful library which implements the client IRC protocol";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.ulduzsoft.com/libircclient/";
|
2016-08-12 20:31:06 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ obadz ];
|
2017-03-19 15:09:02 +00:00
|
|
|
platforms = platforms.linux;
|
2016-08-12 20:31:06 +00:00
|
|
|
};
|
|
|
|
}
|