@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, fetchpatch, stdenv, wrapQtAppsHook, pcre, pugixml, qtbase, qtmultimedia, qttools, yajl, libzip, hunspell
1+{ fetchFromGitHub, fetchpatch, stdenv, wrapQtAppsHook, git, pcre, pugixml, qtbase, libsForQt5, qtmultimedia, qttools, yajl, libzip, hunspell
22, boost, libGLU, lua, cmake, which, }:
33
44let
@@ -6,19 +6,19 @@ let
66in
77stdenv.mkDerivation rec {
88 pname = "mudlet";
9− version = "4.1.2";
9+ version = "4.3";
1010
1111 src = fetchFromGitHub {
1212 owner = "Mudlet";
1313 repo = "Mudlet";
1414 rev = "Mudlet-${version}";
1515 fetchSubmodules = true;
16− sha256 = "1d6r51cj8a71hmhzsayd2far4hliwz5pnrsaj3dn39m7c0iikgdn";
16+ sha256 = "0qqdmivfwf9jmv5yx90z1fj99nlhnq762lfw6bcxgv74y4l4b4c0";
1717 };
1818
19− nativeBuildInputs = [ cmake wrapQtAppsHook qttools which ];
19+ nativeBuildInputs = [ cmake wrapQtAppsHook git qttools which ];
2020 buildInputs = [
21− pcre pugixml qtbase qtmultimedia luaEnv libzip libGLU yajl boost hunspell
21+ pcre pugixml qtbase libsForQt5.qtkeychain qtmultimedia luaEnv libzip libGLU yajl boost hunspell
2222 ];
2323
2424 WITH_FONTS = "NO";
@@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
4343 makeQtWrapper $out/mudlet $out/bin/mudlet \
4444 --set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
4545 --prefix LUA_PATH : "$NIX_LUA_PATH" \
46+ --prefix LD_LIBRARY_PATH : "${libsForQt5.qtkeychain}/lib/" \
4647 --run "cd $out";
4748 '';
4849