1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension rec {
9 pname = "pg_tle";
10 version = "1.5.2";
11
12 src = fetchFromGitHub {
13 owner = "aws";
14 repo = "pg_tle";
15 tag = "v${version}";
16 hash = "sha256-DB7aPSgW2/cjDWwXsFiEfJ5xhlHnhtII0quxtgwZg5c=";
17 };
18
19 buildInputs = postgresql.buildInputs;
20
21 meta = {
22 description = "Framework for building trusted language extensions for PostgreSQL";
23 homepage = "https://github.com/aws/pg_tle";
24 changelog = "https://github.com/aws/pg_tle/releases/tag/v${version}";
25 maintainers = [ lib.maintainers.benchand ];
26 platforms = postgresql.meta.platforms;
27 license = lib.licenses.asl20;
28 };
29}