lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #261174 from ncfavier/weechat

weechat: 4.0.5 -> 4.1.0

authored by

Naïm Favier and committed by
GitHub
187acf45 185acbce

+17 -2
+5 -2
pkgs/applications/networking/irc/weechat/default.nix
··· 36 36 in 37 37 assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; 38 38 stdenv.mkDerivation rec { 39 - version = "4.0.5"; 39 + version = "4.1.0"; 40 40 pname = "weechat"; 41 41 42 42 hardeningEnable = [ "pie" ]; 43 43 44 44 src = fetchurl { 45 45 url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; 46 - hash = "sha256-PXLmGwVjHavcKDIxdo+TioVUSyfjH6v+E8V7TfXF47s="; 46 + hash = "sha256-AwSC5bjw9pxr/Upja2+m12tkqeweF58auqNbGrONHhA="; 47 47 }; 48 + 49 + # Why is this needed? https://github.com/weechat/weechat/issues/2031 50 + patches = lib.optional gettext.gettextNeedsLdflags ./gettext-intl.patch; 48 51 49 52 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; 50 53
+12
pkgs/applications/networking/irc/weechat/gettext-intl.patch
··· 1 + diff --git a/cmake/FindGettext.cmake b/cmake/FindGettext.cmake 2 + index 358734688..ffcbf7ef4 100644 3 + --- a/cmake/FindGettext.cmake 4 + +++ b/cmake/FindGettext.cmake 5 + @@ -42,6 +42,7 @@ find_path(LIBINTL_INCLUDE 6 + ) 7 + 8 + set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE}) 9 + +set(CMAKE_REQUIRED_FLAGS "-lintl") 10 + 11 + check_include_files(libintl.h HAVE_LIBINTL_H) 12 +