diff --git a/pkgs/development/libraries/libircclient/default.nix b/pkgs/development/libraries/libircclient/default.nix new file mode 100644 index 000000000000..14e41961e0a6 --- /dev/null +++ b/pkgs/development/libraries/libircclient/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, cmake }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + version = "1.9"; + pname = "libircclient"; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${pname}/${version}/${name}.tar.gz"; + sha256 = "0r60i76jh4drjh2jgp5sx71chagqllmkaq49zv67nrhqwvp9ghw1"; + }; + + 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.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f5eb1e9c13da..b380180b3e12 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2390,6 +2390,8 @@ in libevhtp = callPackage ../development/libraries/libevhtp { }; + libircclient = callPackage ../development/libraries/libircclient { }; + liboauth = callPackage ../development/libraries/liboauth { }; libsidplayfp = callPackage ../development/libraries/libsidplayfp { };