linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / libircclient / default.nix
blob56a9f1b961cf99f0655b7872b3ed9244403c87f4
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   version = "1.10";
5   pname   = "libircclient";
7   src = fetchurl {
8     url    = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
9     sha256 = "0b9wa0h3xc31wpqlvgxgnvqp5wgx3kwsf5s9432m5cj8ycx6zcmv";
10   };
12   outputs = [ "out" "dev" ];
14   configureFlags = [ "--enable-shared" ];
16   postPatch = ''
17     substituteInPlace src/Makefile.in \
18       --replace "@prefix@/include" "@prefix@/include/libircclient" \
19       --replace "@libdir@"         "@prefix@/lib" \
20       --replace "cp "              "install "
21   '';
23   meta = with lib; {
24     description = "A small but extremely powerful library which implements the client IRC protocol";
25     homepage    = "http://www.ulduzsoft.com/libircclient/";
26     license     = licenses.lgpl3;
27     maintainers = with maintainers; [ obadz ];
28     platforms   = platforms.linux;
29   };