postgresqlPackages.pgjwt: modernize
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
postgresql,
|
||||
unstableGitUpdater,
|
||||
nixosTests,
|
||||
postgresqlTestExtension,
|
||||
buildPostgresqlExtension,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nixosTests,
|
||||
postgresql,
|
||||
postgresqlTestExtension,
|
||||
stdenv,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
buildPostgresqlExtension (finalAttrs: {
|
||||
@@ -17,7 +17,7 @@ buildPostgresqlExtension (finalAttrs: {
|
||||
owner = "michelp";
|
||||
repo = "pgjwt";
|
||||
rev = "f3d82fd30151e754e19ce5d6a06c71c20689ce3d";
|
||||
sha256 = "sha256-nDZEDf5+sFc1HDcG2eBNQj+kGcdAYRXJseKi9oww+JU=";
|
||||
hash = "sha256-nDZEDf5+sFc1HDcG2eBNQj+kGcdAYRXJseKi9oww+JU=";
|
||||
};
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
@@ -34,13 +34,13 @@ buildPostgresqlExtension (finalAttrs: {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "PostgreSQL implementation of JSON Web Tokens";
|
||||
longDescription = ''
|
||||
sign() and verify() functions to create and verify JSON Web Tokens.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
platforms = postgresql.meta.platforms;
|
||||
maintainers = with maintainers; [ spinus ];
|
||||
maintainers = with lib.maintainers; [ spinus ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user