postgresqlPackages.pgsql-http: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:17:04 +01:00
parent 671cda525b
commit c22f751e95
@@ -1,10 +1,10 @@
{
lib,
stdenv,
fetchFromGitHub,
curl,
postgresql,
buildPostgresqlExtension,
curl,
fetchFromGitHub,
lib,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -14,19 +14,19 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "pramsey";
repo = "pgsql-http";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-Ij8BaNj2SOwDfjgLxrpLFvvPCzSahXyyckRPGmcqKtE=";
};
buildInputs = [ curl ];
nativeBuildInputs = [ curl ];
meta = with lib; {
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${version}";
maintainers = [ ];
platforms = postgresql.meta.platforms;
license = licenses.mit;
license = lib.licenses.mit;
};
}