
Those extensions don't support building with PostgreSQL 18, yet. To make sure the broken status is updated on the next upgrade, they all have version checks in the form of an evaluation warning, so that there has be explicit action regarding its PG18 compatibility.
35 lines
977 B
Nix
35 lines
977 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension rec {
|
|
pname = "pg_tle";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aws";
|
|
repo = "pg_tle";
|
|
tag = "v${version}";
|
|
hash = "sha256-Z0x+66OmtD4jOdgpjjIj5OfLitcrvAssRBS7Y2dBfOk=";
|
|
};
|
|
|
|
buildInputs = postgresql.buildInputs;
|
|
|
|
meta = {
|
|
# PostgreSQL 18 support issue upstream: https://github.com/aws/pg_tle/issues/302
|
|
# Check after next package update.
|
|
broken = lib.warnIf (version != "1.5.1") "Is postgresql18Packages.pg_tle still broken?" (
|
|
lib.versionAtLeast postgresql.version "18"
|
|
);
|
|
description = "Framework for building trusted language extensions for PostgreSQL";
|
|
homepage = "https://github.com/aws/pg_tle";
|
|
changelog = "https://github.com/aws/pg_tle/releases/tag/v${version}";
|
|
maintainers = [ lib.maintainers.benchand ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|