blob: b40e1f5f21e266eda5f8147f985b8fba3ea44f04 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
fetchFromGitHub,
lib,
nixosTests,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension rec {
pname = "wal2json";
version = "${builtins.replaceStrings [ "_" ] [ "." ] (
lib.strings.removePrefix "wal2json_" src.rev
)}";
src = fetchFromGitHub {
owner = "eulerto";
repo = "wal2json";
tag = "wal2json_2_6";
hash = "sha256-+QoACPCKiFfuT2lJfSUmgfzC5MXf75KpSoc2PzPxKyM=";
};
makeFlags = [ "USE_PGXS=1" ];
passthru.tests = nixosTests.postgresql.wal2json.passthru.override postgresql;
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 lib.maintainers; [ euank ];
platforms = postgresql.meta.platforms;
license = lib.licenses.bsd3;
};
}
|