blob: 2c2eb6fc9390376c97317fd579b876836c7f1495 (
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
35
36
37
|
{
curl,
fetchFromGitHub,
flex,
json_c,
lib,
postgresql,
postgresqlBuildExtension,
stdenv,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "repmgr";
version = "5.5.0";
src = fetchFromGitHub {
owner = "EnterpriseDB";
repo = "repmgr";
tag = "v${finalAttrs.version}";
hash = "sha256-8G2CzzkWTKEglpUt1Gr7d/DuHJvCIEjsbYDMl3Zt3cs=";
};
nativeBuildInputs = [ flex ];
buildInputs = postgresql.buildInputs ++ [
curl
json_c
];
meta = {
homepage = "https://repmgr.org/";
description = "Replication manager for PostgreSQL cluster";
license = lib.licenses.postgresql;
platforms = postgresql.meta.platforms;
maintainers = with lib.maintainers; [ zimbatm ];
};
})
|