postgresqlPackages.wal2json: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:17:21 +01:00
parent 5018714b31
commit d14917c317
+8 -8
View File
@@ -1,9 +1,9 @@
{
lib,
fetchFromGitHub,
postgresql,
buildPostgresqlExtension,
fetchFromGitHub,
lib,
nixosTests,
postgresql,
}:
buildPostgresqlExtension rec {
@@ -15,20 +15,20 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "eulerto";
repo = "wal2json";
rev = "wal2json_2_6";
sha256 = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
tag = "wal2json_2_6";
hash = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
};
makeFlags = [ "USE_PGXS=1" ];
passthru.tests = nixosTests.postgresql.wal2json.passthru.override postgresql;
meta = with lib; {
meta = {
description = "PostgreSQL JSON output plugin for changeset extraction";
homepage = "https://github.com/eulerto/wal2json";
changelog = "https://github.com/eulerto/wal2json/releases/tag/${src.rev}";
maintainers = with maintainers; [ euank ];
maintainers = with lib.maintainers; [ euank ];
platforms = postgresql.meta.platforms;
license = licenses.bsd3;
license = lib.licenses.bsd3;
};
}