nixpkgs/pkgs/servers/sql/postgresql/ext/pg_ivm.nix

24 lines
733 B
Nix

{ lib, stdenv, fetchFromGitHub, postgresql, buildPostgresqlExtension }:
buildPostgresqlExtension rec {
pname = "pg_ivm";
version = "1.9";
src = fetchFromGitHub {
owner = "sraoss";
repo = pname;
rev = "v${version}";
hash = "sha256-Qcie7sbXcMbQkMoFIYBfttmvlYooESdSk2DyebHKPlk=";
};
meta = with lib; {
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${version}";
maintainers = with maintainers; [ ivan ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
broken = versionOlder postgresql.version "13";
};
}