nheko: format inputs and arguments

This commit is contained in:
Doron Behar 2020-04-30 10:08:47 +03:00
parent 5c39300463
commit 13aa8b58ca

View File

@ -1,6 +1,19 @@
{ lib, stdenv, fetchFromGitHub { lib
, cmake, cmark, lmdb, mkDerivation, qtbase, qtmacextras , stdenv
, qtmultimedia, qttools, mtxclient, boost, spdlog, olm, pkgconfig , fetchFromGitHub
, cmake
, cmark
, lmdb
, mkDerivation
, qtbase
, qtmacextras
, qtmultimedia
, qttools
, mtxclient
, boost
, spdlog
, olm
, pkgconfig
, nlohmann_json , nlohmann_json
}: }:
@ -60,11 +73,21 @@ mkDerivation rec {
"-Dnlohmann_json_DIR=${nlohmann_json}/lib/cmake/nlohmann_json" "-Dnlohmann_json_DIR=${nlohmann_json}/lib/cmake/nlohmann_json"
]; ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [ buildInputs = [
mtxclient olm boost lmdb spdlog cmark mtxclient
qtbase qtmultimedia qttools olm
boost
lmdb
spdlog
cmark
qtbase
qtmultimedia
qttools
] ++ lib.optional stdenv.isDarwin qtmacextras; ] ++ lib.optional stdenv.isDarwin qtmacextras;
enableParallelBuilding = true; enableParallelBuilding = true;