1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_cron";
10 version = "1.6.7";
11
12 src = fetchFromGitHub {
13 owner = "citusdata";
14 repo = "pg_cron";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-oQjaQeIEMbg5pipY8tT4I7bNdyDOwcr/ZJikqgcEZOs=";
17 };
18
19 meta = {
20 description = "Run Cron jobs through PostgreSQL";
21 homepage = "https://github.com/citusdata/pg_cron";
22 changelog = "https://github.com/citusdata/pg_cron/releases/tag/v${finalAttrs.version}";
23 maintainers = with lib.maintainers; [ thoughtpolice ];
24 platforms = postgresql.meta.platforms;
25 license = lib.licenses.postgresql;
26 };
27})