postgresqlPackages.pg_uuidv7: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:16:58 +01:00
parent 4d8242ed1b
commit bdadf79583
@@ -1,9 +1,9 @@
{
lib,
stdenv,
fetchFromGitHub,
postgresql,
buildPostgresqlExtension,
fetchFromGitHub,
lib,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -13,17 +13,17 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "fboulnois";
repo = "pg_uuidv7";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-lG6dCnbLALnfQc4uclqXXXfYjK/WXLV0lo5I8l1E5p4=";
};
meta = with lib; {
meta = {
description = "Tiny Postgres extension to create version 7 UUIDs";
homepage = "https://github.com/fboulnois/pg_uuidv7";
changelog = "https://github.com/fboulnois/pg_uuidv7/blob/main/CHANGELOG.md";
maintainers = with maintainers; [ gaelreyrol ];
maintainers = with lib.maintainers; [ gaelreyrol ];
platforms = postgresql.meta.platforms;
license = licenses.mpl20;
broken = versionOlder postgresql.version "13";
license = lib.licenses.mpl20;
broken = lib.versionOlder postgresql.version "13";
};
}