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