diff --git a/pkgs/servers/sql/postgresql/ext/plr.nix b/pkgs/servers/sql/postgresql/ext/plr.nix index c1148bf92c39..b55812c3f3ce 100644 --- a/pkgs/servers/sql/postgresql/ext/plr.nix +++ b/pkgs/servers/sql/postgresql/ext/plr.nix @@ -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; }; }