postgresqlPackages.pgsql-http: modernize
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user