depot/third_party/nixpkgs/pkgs/development/libraries/libircclient/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
897 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "1.10";
pname = "libircclient";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
sha256 = "0b9wa0h3xc31wpqlvgxgnvqp5wgx3kwsf5s9432m5cj8ycx6zcmv";
};
outputs = [ "out" "dev" ];
configureFlags = [ "--enable-shared" ];
postPatch = ''
substituteInPlace src/Makefile.in \
--replace "@prefix@/include" "@prefix@/include/libircclient" \
--replace "@libdir@" "@prefix@/lib" \
--replace "cp " "install "
'';
meta = with lib; {
description = "Small but extremely powerful library which implements the client IRC protocol";
homepage = "http://www.ulduzsoft.com/libircclient/";
license = licenses.lgpl3;
maintainers = with maintainers; [ obadz ];
platforms = platforms.linux;
};
}