@@ -2,12 +2,13 @@
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "communi-${version}";
4 name = "communi-${version}";
5− version = "2016-01-03";
5+ version = "2016-08-19";
7 src = fetchgit {
7 src = fetchgit {
8 url = "https://github.com/communi/communi-desktop.git";
8 url = "https://github.com/communi/communi-desktop.git";
9− rev = "ad1b9a30ed6c51940c0d2714b126a32b5d68c876";
9+ rev = "d516b01b1382a805de65f21f3475e0a8e64a97b5";
10− sha256 = "0jx963pfvzk4dbk8mrmzfrhzybk5y6ib9yzaj662wliayrzj7vpg";
10+ sha256 = "1pn7mr7ch1ck5qv9zdn3ril40c9kk6l04475564rpzf11jly76an";
11+ fetchSubmodules = true;
13 nativeBuildInputs = [ makeQtWrapper qmakeHook ];
14 nativeBuildInputs = [ makeQtWrapper qmakeHook ];
@@ -34,6 +35,10 @@ stdenv.mkDerivation rec {
34 --replace "/usr/bin" "$out/bin"
35 --replace "/usr/bin" "$out/bin"
39+ patchelf --set-rpath "$out/lib:$(patchelf --print-rpath $out/bin/.communi-wrapped)" $out/bin/.communi-wrapped
37 meta = with stdenv.lib; {
42 meta = with stdenv.lib; {
38 description = "A simple and elegant cross-platform IRC client";
43 description = "A simple and elegant cross-platform IRC client";
39 homepage = https://github.com/communi/communi-desktop;
44 homepage = https://github.com/communi/communi-desktop;