blob: 3e1562ecd21bdbe129af2b2c71eb674d6511452d (
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
|
{
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
openssl,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pg_background";
version = "1.9.3";
src = fetchFromGitHub {
owner = "vibhorkum";
repo = "pg_background";
tag = "v${finalAttrs.version}";
hash = "sha256-m5mdXTmml6iX4UKcHeN6uMjypLvHasjD5AXzUhvEHdI=";
};
buildInputs = postgresql.buildInputs;
meta = {
description = "Run PostgreSQL Commands in Background Workers";
homepage = "https://github.com/vibhorkum/pg_background";
changelog = "https://github.com/vibhorkum/pg_background/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ mkleczek ];
platforms = postgresql.meta.platforms;
license = lib.licenses.gpl3Only;
};
})
|