Skip to content

Commit

Permalink
Merge pull request #80675 from mweinelt/pr/19.09/weechat/2.7.1
Browse files Browse the repository at this point in the history
[19.09] weechat: 2.6 -> 2.7.1
  • Loading branch information
andir committed Feb 20, 2020
2 parents b6ef10f + 10babe3 commit b23f211
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/networking/irc/weechat/default.nix
Expand Up @@ -27,12 +27,12 @@ let
in
assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
stdenv.mkDerivation rec {
version = "2.6";
version = "2.7.1";
pname = "weechat";

src = fetchurl {
url = "https://weechat.org/files/src/weechat-${version}.tar.bz2";
sha256 = "1narazk28m7lmn1vqi7bhyvnr8apjrmaa4w1hbadn64hwr8ya1hb";
sha256 = "0acz41jg7lmipni9z2agfqw4dhmx5hf6k9w4pvr4zih1fhkldva2";
};

outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
Expand All @@ -41,6 +41,8 @@ let
cmakeFlags = with stdenv.lib; [
"-DENABLE_MAN=ON"
"-DENABLE_DOC=ON"
"-DENABLE_JAVASCRIPT=OFF" # Requires v8 <= 3.24.3, https://github.com/weechat/weechat/issues/360
"-DENABLE_PHP=OFF"
]
++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"]
++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins
Expand Down

0 comments on commit b23f211

Please sign in to comment.