Merge pull request #239945 from NickCao/pgroonga

postgresqlPackages.pgroonga: 3.0.7 -> 3.0.8, use msgpack-c
This commit is contained in:
Weijia Wang 2023-06-26 18:25:37 +02:00 committed by GitHub
commit 35b31f7186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/