postgresql15Packages.wal2json: 2.5 -> 2.6

This commit is contained in:
Euan Kemp 2024-05-27 23:06:08 +09:00
parent 5f053ee054
commit 4450044b7b

View File

@ -1,14 +1,20 @@
{ lib, callPackage, stdenv, fetchFromGitHub, postgresql }:
{
lib,
stdenv,
callPackage,
fetchFromGitHub,
postgresql,
}:
stdenv.mkDerivation rec {
pname = "wal2json";
version = "2.5";
version = "2.6";
src = fetchFromGitHub {
owner = "eulerto";
repo = "wal2json";
rev = "wal2json_${builtins.replaceStrings ["."] ["_"] version}";
sha256 = "sha256-Gpc9uDKrs/dmVSFgdgHM453+TaEnhRh9t0gDbSn8FUI=";
rev = "wal2json_${builtins.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
};
buildInputs = [ postgresql ];
@ -20,10 +26,12 @@ stdenv.mkDerivation rec {
install -D -t $out/share/postgresql/extension sql/*.sql
'';
passthru.tests.wal2json = lib.recurseIntoAttrs (callPackage ../../../../../nixos/tests/postgresql-wal2json.nix {
inherit (stdenv) system;
inherit postgresql;
});
passthru.tests.wal2json = lib.recurseIntoAttrs (
callPackage ../../../../../nixos/tests/postgresql-wal2json.nix {
inherit (stdenv) system;
inherit postgresql;
}
);
meta = with lib; {
description = "PostgreSQL JSON output plugin for changeset extraction";