diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix b/nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix index 80ffbebe9be3..9febaeee93f4 100644 --- a/nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix +++ b/nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix @@ -6,9 +6,11 @@ , cmark , lmdb , lmdbxx +, libsecret , tweeny , mkDerivation , qtbase +, qtkeychain , qtmacextras , qtmultimedia , qttools @@ -19,25 +21,25 @@ , spdlog , fmt , olm -, pkgconfig +, pkg-config , nlohmann_json }: mkDerivation rec { pname = "nheko"; - version = "0.7.2"; + version = "0.8.0"; src = fetchFromGitHub { owner = "Nheko-Reborn"; repo = "nheko"; rev = "v${version}"; - sha256 = "1cbhgaf9klgxdirrxj571fqwspm0byl75c1xc40l727a6qswvp7s"; + sha256 = "00d6wx3lcgbks74jkdyifqxf8nlravqh88fyljd0sy7kzbah9msf"; }; nativeBuildInputs = [ lmdbxx cmake - pkgconfig + pkg-config ]; buildInputs = [ @@ -46,6 +48,7 @@ mkDerivation rec { mtxclient olm boost17x + libsecret lmdb spdlog fmt @@ -55,9 +58,14 @@ mkDerivation rec { qttools qtquickcontrols2 qtgraphicaleffects + qtkeychain ] ++ lib.optional stdenv.isDarwin qtmacextras; - meta = with stdenv.lib; { + cmakeFlags = [ + "-DCOMPILE_QML=ON" # see https://github.com/Nheko-Reborn/nheko/issues/389 + ]; + + meta = with lib; { description = "Desktop client for the Matrix protocol"; homepage = "https://github.com/Nheko-Reborn/nheko"; maintainers = with maintainers; [ ekleog fpletz ]; |