Skip to content

Commit

Permalink
nheko: 0.10.2 -> 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Jan 13, 2023
1 parent 0244049 commit 37b97ae
Showing 1 changed file with 40 additions and 38 deletions.
78 changes: 40 additions & 38 deletions pkgs/applications/networking/instant-messengers/nheko/default.nix
Original file line number Diff line number Diff line change
@@ -1,80 +1,82 @@
{ lib
, stdenv
, mkDerivation
, fetchFromGitHub
, cmake
, asciidoc
, pkg-config
, boost17x
, cmark
, coeurl
, curl
, libevent
, libsecret
, lmdb
, lmdbxx
, libsecret
, mkDerivation
, mtxclient
, nlohmann_json
, olm
, qtbase
, qtgraphicaleffects
, qtimageformats
, qtkeychain
, qtmacextras
, qtmultimedia
, qtimageformats
, qttools
, qtquickcontrols2
, qtgraphicaleffects
, mtxclient
, boost17x
, qttools
, re2
, spdlog
, olm
, pkg-config
, nlohmann_json
, coeurl
, libevent
, curl
, voipSupport ? true
, gst_all_1
, libnice
}:

mkDerivation rec {
pname = "nheko";
version = "0.10.2";
version = "0.11.0";

src = fetchFromGitHub {
owner = "Nheko-Reborn";
repo = "nheko";
rev = "v${version}";
sha256 = "sha256-gid8XOZ1/hMDGNbse4GYfcAdqHiySWyy4isBgcpekIQ=";
hash = "sha256-4Xe3eRnDkgyYB+hUP8TBWTt+m29HVtgcqVEQUUsIpCY=";
};

nativeBuildInputs = [
lmdbxx
asciidoc
cmake
lmdbxx
pkg-config
asciidoc
];

buildInputs = [
nlohmann_json
mtxclient
olm
boost17x
cmark
coeurl
curl
libevent
libsecret
lmdb
spdlog
cmark
mtxclient
nlohmann_json
olm
qtbase
qtmultimedia
qtimageformats
qttools
qtquickcontrols2
qtgraphicaleffects
qtimageformats
qtkeychain
coeurl
libevent
curl
qtmultimedia
qtquickcontrols2
qttools
re2
spdlog
] ++ lib.optional stdenv.isDarwin qtmacextras
++ lib.optionals voipSupport (with gst_all_1; [
gstreamer
gst-plugins-base
(gst-plugins-good.override { qt5Support = true; })
gst-plugins-bad
libnice
]);
++ lib.optionals voipSupport (with gst_all_1; [
gstreamer
gst-plugins-base
(gst-plugins-good.override { qt5Support = true; })
gst-plugins-bad
libnice
]);

cmakeFlags = [
"-DCOMPILE_QML=ON" # see https://github.com/Nheko-Reborn/nheko/issues/389
Expand All @@ -88,11 +90,11 @@ mkDerivation rec {
meta = with lib; {
description = "Desktop client for the Matrix protocol";
homepage = "https://github.com/Nheko-Reborn/nheko";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ekleog fpletz ];
platforms = platforms.all;
# Should be fixable if a higher clang version is used, see:
# https://github.com/NixOS/nixpkgs/pull/85922#issuecomment-619287177
broken = stdenv.targetPlatform.isDarwin;
license = licenses.gpl3Plus;
broken = stdenv.hostPlatform.isDarwin;
};
}

0 comments on commit 37b97ae

Please sign in to comment.