{ fetchFromGitHub, lib, postgresql, postgresqlBuildExtension, }: postgresqlBuildExtension rec { pname = "pg_tle"; version = "1.5.2"; src = fetchFromGitHub { owner = "aws"; repo = "pg_tle"; tag = "v${version}"; hash = "sha256-DB7aPSgW2/cjDWwXsFiEfJ5xhlHnhtII0quxtgwZg5c="; }; buildInputs = postgresql.buildInputs; meta = { 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; }; }