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