diff options
author | Doron Behar <doron.behar@gmail.com> | 2019-06-19 15:25:06 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2019-06-19 15:33:52 +0300 |
commit | 0b383bdf78349200a250fe561205d3d0a3e028c1 (patch) | |
tree | e389460c3c3a57c3cab322fda8d4875ffa0c6400 /pkgs/applications/networking/instant-messengers/nheko | |
parent | 32a992af8bd3f838114427d3ec0b3035193d88c7 (diff) |
nheko: 0.6.3 -> 0.6.4, mtxclient: 0.2.0 -> 0.2.1
Use new URL of mtxclient. Make them both aware of nlohmann_json dependency using `-Dnlohmann_json_DIR` in `cmakeFlags`.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/nheko')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/nheko/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/nheko/default.nix b/pkgs/applications/networking/instant-messengers/nheko/default.nix index defec82b91694..9b1939f005160 100644 --- a/pkgs/applications/networking/instant-messengers/nheko/default.nix +++ b/pkgs/applications/networking/instant-messengers/nheko/default.nix @@ -1,8 +1,10 @@ { lib, stdenv, fetchFromGitHub , cmake, cmark, lmdb, qt5, qtmacextras, mtxclient -, boost, spdlog, olm, pkgconfig +, boost, spdlog, olm, pkgconfig, nlohmann_json }: +# These hashes and revisions are based on those from here: +# https://github.com/Nheko-Reborn/nheko/blob/v0.6.4/deps/CMakeLists.txt#L52 let tweeny = fetchFromGitHub { owner = "mobius3"; @@ -20,13 +22,13 @@ let in stdenv.mkDerivation rec { name = "nheko-${version}"; - version = "0.6.3"; + version = "0.6.4"; src = fetchFromGitHub { owner = "Nheko-Reborn"; repo = "nheko"; rev = "v${version}"; - sha256 = "1h95lixciiq904dnfpwxhyf545yfsrphhwqyvs4yrzdfr9k0cf98"; + sha256 = "19dkc98l1q4070v6mli4ybqn0ip0za607w39hjf0x8rqdxq45iwm"; }; # If, on Darwin, you encounter the error @@ -54,6 +56,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DTWEENY_INCLUDE_DIR=.deps/include" "-DLMDBXX_INCLUDE_DIR=${lmdbxx}" + "-Dnlohmann_json_DIR=${nlohmann_json}/lib/cmake/nlohmann_json" ]; nativeBuildInputs = [ cmake pkgconfig ]; |