groonga: add msgpack-c as default dependency

According to the upstream documentation: https://groonga.org/docs/install/debian.html#build-from-source,
msgpack should be added as a dependency by default.
This commit is contained in:
eth3lbert 2023-12-06 10:42:31 +08:00
parent 000522dbf4
commit 4e9985374e
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
{ lib, stdenv, cmake, fetchurl, kytea, mecab, pkg-config, rapidjson, testers, xxHash, zstd, postgresqlPackages
, suggestSupport ? false, zeromq, libevent, msgpack, openssl
{ lib, stdenv, cmake, fetchurl, kytea, msgpack-c, mecab, pkg-config, rapidjson, testers, xxHash, zstd, postgresqlPackages
, suggestSupport ? false, zeromq, libevent, openssl
, lz4Support ? false, lz4
, zlibSupport ? true, zlib
}:
@ -29,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
zstd
mecab
kytea
msgpack-c
] ++ lib.optionals lz4Support [
lz4
] ++ lib.optional zlibSupport [
@ -36,7 +37,6 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals suggestSupport [
zeromq
libevent
msgpack
];
env.NIX_CFLAGS_COMPILE = lib.optionalString zlibSupport "-I${zlib.dev}/include";