mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
25176c8812
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from libircclient
32 lines
922 B
Nix
32 lines
922 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
version = "1.10";
|
|
pname = "libircclient";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}/${version}/${name}.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 stdenv.lib; {
|
|
description = "A 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;
|
|
};
|
|
}
|