nixpkgs/pkgs/applications/networking/instant-messengers/nheko/default.nix

69 lines
1.2 KiB
Nix
Raw Normal View History

2020-04-30 00:08:47 -07:00
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
2020-04-30 00:08:47 -07:00
, cmake
, cmark
, lmdb
, lmdbxx
, tweeny
2020-04-30 00:08:47 -07:00
, mkDerivation
, qtbase
, qtmacextras
, qtmultimedia
, qttools
2020-04-24 01:07:28 -07:00
, qtquickcontrols2
, qtgraphicaleffects
2020-04-30 00:08:47 -07:00
, mtxclient
2020-04-24 01:07:28 -07:00
, boost17x
2020-04-30 00:08:47 -07:00
, spdlog
, olm
, pkgconfig
, nlohmann_json
2018-05-24 10:00:40 -07:00
}:
2018-04-06 19:05:11 -07:00
mkDerivation rec {
pname = "nheko";
version = "0.7.2";
2018-04-06 19:05:11 -07:00
src = fetchFromGitHub {
2019-02-11 13:40:50 -08:00
owner = "Nheko-Reborn";
2018-04-06 19:05:11 -07:00
repo = "nheko";
rev = "v${version}";
sha256 = "1cbhgaf9klgxdirrxj571fqwspm0byl75c1xc40l727a6qswvp7s";
2018-04-06 19:05:11 -07:00
};
2020-04-30 00:08:47 -07:00
nativeBuildInputs = [
lmdbxx
2020-04-30 00:08:47 -07:00
cmake
pkgconfig
];
2018-04-06 19:05:11 -07:00
buildInputs = [
nlohmann_json
tweeny
2020-04-30 00:08:47 -07:00
mtxclient
olm
2020-04-24 01:07:28 -07:00
boost17x
2020-04-30 00:08:47 -07:00
lmdb
spdlog
cmark
qtbase
qtmultimedia
qttools
2020-04-24 01:07:28 -07:00
qtquickcontrols2
qtgraphicaleffects
2018-05-24 10:00:40 -07:00
] ++ lib.optional stdenv.isDarwin qtmacextras;
2018-04-06 19:05:11 -07:00
meta = with stdenv.lib; {
description = "Desktop client for the Matrix protocol";
homepage = "https://github.com/Nheko-Reborn/nheko";
2018-09-09 13:14:27 -07:00
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;
2018-08-09 03:59:52 -07:00
license = licenses.gpl3Plus;
2018-04-06 19:05:11 -07:00
};
}