postgresqlPackages.plr: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:17:07 +01:00
parent d3a7181b5e
commit e3960931e4
+10 -10
View File
@@ -1,11 +1,11 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
R,
postgresql,
buildPostgresqlExtension,
fetchFromGitHub,
lib,
pkg-config,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -15,8 +15,8 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "postgres-plr";
repo = "plr";
rev = "REL8_4_7";
sha256 = "sha256-PdvFEmtKfLT/xfaf6obomPR5hKC9F+wqpfi1heBphRk=";
tag = "REL8_4_7";
hash = "sha256-PdvFEmtKfLT/xfaf6obomPR5hKC9F+wqpfi1heBphRk=";
};
nativeBuildInputs = [ pkg-config ];
@@ -24,12 +24,12 @@ buildPostgresqlExtension rec {
makeFlags = [ "USE_PGXS=1" ];
meta = with lib; {
meta = {
description = "PL/R - R Procedural Language for PostgreSQL";
homepage = "https://github.com/postgres-plr/plr";
changelog = "https://github.com/postgres-plr/plr/blob/${src.rev}/changelog.md";
maintainers = with maintainers; [ qoelet ];
maintainers = with lib.maintainers; [ qoelet ];
platforms = postgresql.meta.platforms;
license = licenses.gpl2Only;
license = lib.licenses.gpl2Only;
};
}