1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_ivm";
10 version = "1.10";
11
12 src = fetchFromGitHub {
13 owner = "sraoss";
14 repo = "pg_ivm";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-4/ftJkm2ZInm9lkjJG7y4ZULwlyVC19lP0wGXu56SGw=";
17 };
18
19 meta = {
20 description = "Materialized views with IVM (Incremental View Maintenance) for PostgreSQL";
21 homepage = "https://github.com/sraoss/pg_ivm";
22 changelog = "https://github.com/sraoss/pg_ivm/releases/tag/v${finalAttrs.version}";
23 maintainers = with lib.maintainers; [ ivan ];
24 platforms = postgresql.meta.platforms;
25 license = lib.licenses.postgresql;
26 broken = lib.versionOlder postgresql.version "13";
27 };
28})