Files
nixpkgs/pkgs/servers/sql/postgresql/ext/pg_cron.nix
2026-09-10 05:56:24 +00:00

28 lines
699 B
Nix

{
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pg_cron";
version = "1.6.8";
src = fetchFromGitHub {
owner = "citusdata";
repo = "pg_cron";
tag = "v${finalAttrs.version}";
hash = "sha256-i5bgIFBjpb2KVUk9eABz7CpP+AwlgKAPQI0vNPd7Eb8=";
};
meta = {
description = "Run Cron jobs through PostgreSQL";
homepage = "https://github.com/citusdata/pg_cron";
changelog = "https://github.com/citusdata/pg_cron/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ thoughtpolice ];
platforms = postgresql.meta.platforms;
license = lib.licenses.postgresql;
};
})