From 671cda525b853f85f61efea677f460822dddbbfe Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 16 Mar 2025 20:59:43 +0100 Subject: [PATCH] postgresqlPackages.pgsodium: modernize --- pkgs/servers/sql/postgresql/ext/pgsodium.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/sql/postgresql/ext/pgsodium.nix b/pkgs/servers/sql/postgresql/ext/pgsodium.nix index 8525fd81947a..d072c1c75b6c 100644 --- a/pkgs/servers/sql/postgresql/ext/pgsodium.nix +++ b/pkgs/servers/sql/postgresql/ext/pgsodium.nix @@ -1,12 +1,12 @@ { - lib, - stdenv, - fetchFromGitHub, bash, + buildPostgresqlExtension, + fetchFromGitHub, + lib, libsodium, postgresql, postgresqlTestExtension, - buildPostgresqlExtension, + stdenv, }: buildPostgresqlExtension (finalAttrs: { @@ -16,7 +16,7 @@ buildPostgresqlExtension (finalAttrs: { src = fetchFromGitHub { owner = "michelp"; repo = "pgsodium"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Y8xL3PxF1GQV1JIgolMI1e8oGcUvWAgrPv84om7wKP8="; }; @@ -45,11 +45,11 @@ buildPostgresqlExtension (finalAttrs: { ''; }; - meta = with lib; { + meta = { description = "Modern cryptography for PostgreSQL using libsodium"; homepage = "https://github.com/michelp/pgsodium"; changelog = "https://github.com/michelp/pgsodium/releases/tag/v${finalAttrs.version}"; - license = licenses.postgresql; + license = lib.licenses.postgresql; maintainers = [ ]; platforms = postgresql.meta.platforms; };