mtxclient: format inputs and arguments

This commit is contained in:
Doron Behar 2020-04-30 09:57:48 +03:00
parent eeb4e522b5
commit 59b5e92117

View File

@ -1,5 +1,15 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig { stdenv
, boost, openssl, zlib, libsodium, olm, nlohmann_json }: , fetchFromGitHub
, fetchpatch
, cmake
, pkgconfig
, boost
, openssl
, zlib
, libsodium
, olm
, nlohmann_json
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mtxclient"; pname = "mtxclient";
@ -18,8 +28,17 @@ stdenv.mkDerivation rec {
"-Dnlohmann_json_DIR=${nlohmann_json}/lib/cmake/nlohmann_json" "-Dnlohmann_json_DIR=${nlohmann_json}/lib/cmake/nlohmann_json"
]; ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [
buildInputs = [ boost openssl zlib libsodium olm ]; cmake
pkgconfig
];
buildInputs = [
boost
openssl
zlib
libsodium
olm
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Client API library for Matrix, built on top of Boost.Asio"; description = "Client API library for Matrix, built on top of Boost.Asio";