1{
2 curl,
3 fetchFromGitHub,
4 lib,
5 postgresql,
6 postgresqlBuildExtension,
7}:
8
9postgresqlBuildExtension (finalAttrs: {
10 pname = "pgsql-http";
11 version = "1.7.0";
12
13 src = fetchFromGitHub {
14 owner = "pramsey";
15 repo = "pgsql-http";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-tgmty8ZYpSEccwQouI/Ho2M495k6DizbMaaJ0+aW03Q=";
18 };
19
20 buildInputs = [ curl ];
21 nativeBuildInputs = [ curl ];
22
23 meta = {
24 description = "HTTP client for PostgreSQL, retrieve a web page from inside the database";
25 homepage = "https://github.com/pramsey/pgsql-http";
26 changelog = "https://github.com/pramsey/pgsql-http/releases/tag/v${finalAttrs.version}";
27 maintainers = [ ];
28 platforms = postgresql.meta.platforms;
29 license = lib.licenses.mit;
30 };
31})