15 stdenv.mkDerivation rec {
19 src = fetchFromGitHub {
20 owner = "Nheko-Reborn";
23 sha256 = "sha256-x2c+wZWAWYoKxSqEezoInw3SwcGo9dQNDvuq7racLBA=";
27 # See https://github.com/gabime/spdlog/issues/1897
28 sed -i '1a add_compile_definitions(SPDLOG_FMT_EXTERNAL)' CMakeLists.txt
32 # Network requiring tests can't be disabled individually:
33 # https://github.com/Nheko-Reborn/mtxclient/issues/22
34 "-DBUILD_LIB_TESTS=OFF"
35 "-DBUILD_LIB_EXAMPLES=OFF"
53 description = "Client API library for the Matrix protocol.";
54 homepage = "https://github.com/Nheko-Reborn/mtxclient";
55 license = licenses.mit;
56 maintainers = with maintainers; [ fpletz pstn ];
57 platforms = platforms.all;
58 # Should be fixable if a higher clang version is used, see:
59 # https://github.com/NixOS/nixpkgs/pull/85922#issuecomment-619287177
60 broken = stdenv.targetPlatform.isDarwin;