Files
nixpkgs/pkgs/servers/sql/postgresql/ext/pgsql-http.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
769 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
curl,
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pgsql-http";
version = "1.7.0";
src = fetchFromGitHub {
owner = "pramsey";
repo = "pgsql-http";
tag = "v${finalAttrs.version}";
hash = "sha256-tgmty8ZYpSEccwQouI/Ho2M495k6DizbMaaJ0+aW03Q=";
};
buildInputs = [ curl ];
nativeBuildInputs = [ curl ];
meta = {
description = "HTTP client for PostgreSQL, retrieve a web page from inside the database";
homepage = "https://github.com/pramsey/pgsql-http";
changelog = "https://github.com/pramsey/pgsql-http/releases/tag/v${finalAttrs.version}";
maintainers = [ ];
platforms = postgresql.meta.platforms;
license = lib.licenses.mit;
};
})