{ fetchFromGitHub, lib, postgresql, postgresqlBuildExtension, }: postgresqlBuildExtension (finalAttrs: { pname = "pg_ivm"; version = "1.10"; src = fetchFromGitHub { owner = "sraoss"; repo = "pg_ivm"; tag = "v${finalAttrs.version}"; hash = "sha256-4/ftJkm2ZInm9lkjJG7y4ZULwlyVC19lP0wGXu56SGw="; }; meta = { description = "Materialized views with IVM (Incremental View Maintenance) for PostgreSQL"; homepage = "https://github.com/sraoss/pg_ivm"; changelog = "https://github.com/sraoss/pg_ivm/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ ivan ]; platforms = postgresql.meta.platforms; license = lib.licenses.postgresql; broken = lib.versionOlder postgresql.version "13"; }; })