Commit 7d67989a authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files
parent 535b744c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ stdenv, fetchurl, lib
, ncurses, openssl, aspell, gnutls, gettext
, ncurses, openssl, aspell, cjson, gnutls, gettext
, zlib, curl, pkg-config, libgcrypt
, cmake, libobjc, libresolv, libiconv
, asciidoctor # manpages
@@ -36,14 +36,14 @@ let
  in
    assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
    stdenv.mkDerivation rec {
      version = "4.2.2";
      version = "4.3.0";
      pname = "weechat";

      hardeningEnable = [ "pie" ];

      src = fetchurl {
        url = "https://weechat.org/files/src/weechat-${version}.tar.xz";
        hash = "sha256-IJaLIsfw9Q35z2/4WY3RvQF8V1myyUWT9dnteyTruUE=";
        hash = "sha256-Nvn5C/L2n3ejTR4NWPBsoI8PIPgmOrlAtjfnq/eWhi0=";
      };

      # Why is this needed? https://github.com/weechat/weechat/issues/2031
@@ -63,7 +63,7 @@ let

      nativeBuildInputs = [ cmake pkg-config asciidoctor ] ++ lib.optional enableTests cpputest;
      buildInputs = with lib; [
          ncurses openssl aspell gnutls gettext zlib curl
          ncurses openssl aspell cjson gnutls gettext zlib curl
          libgcrypt ]
        ++ optionals stdenv.isDarwin [ libobjc libresolv ]
        ++ concatMap (p: p.buildInputs) enabledPlugins