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

{
curl,
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pgsql-http";
version = "1.6.3";
src = fetchFromGitHub {
owner = "pramsey";
repo = "pgsql-http";
tag = "v${finalAttrs.version}";
hash = "sha256-Ij8BaNj2SOwDfjgLxrpLFvvPCzSahXyyckRPGmcqKtE=";
};
buildInputs = [ curl ];
2025-02-01 10:25:22 +01:00
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}";
2024-04-24 04:20:00 +00:00
maintainers = [ ];
platforms = postgresql.meta.platforms;
license = lib.licenses.mit;
};
})