postgresqlPackages.pgroonga: 3.0.7 -> 3.0.8, use msgpack-c

Diff: https://github.com/pgroonga/pgroonga/compare/3.0.7...3.0.8
Changelog: https://github.com/pgroonga/pgroonga/releases/tag/3.0.8
This commit is contained in:
Nick Cao 2023-06-26 22:24:28 +08:00
parent 52e5e2b29f
commit c74fd7d1f8
No known key found for this signature in database

View file

@ -1,18 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, postgresql, msgpack, groonga }:
{ lib, stdenv, fetchurl, pkg-config, postgresql, msgpack-c, groonga }:
stdenv.mkDerivation rec {
pname = "pgroonga";
version = "3.0.7";
version = "3.0.8";
src = fetchurl {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-iF/zh4zDDpAw5fxW1WG8i2bfPt4VYsnYArwOoE/lwgM=";
hash = "sha256-2/dInLG8isiSJHJgNyxgbUwMd/mtcUJxcTvSnVpBZ9M=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ postgresql msgpack groonga ];
buildInputs = [ postgresql msgpack-c groonga ];
makeFlags = [ "HAVE_MSGPACK=1" ];
makeFlags = [
"HAVE_MSGPACK=1"
"MSGPACK_PACKAGE_NAME=msgpack-c"
];
installPhase = ''
install -D pgroonga.so -t $out/lib/