postgresqlPackages.periods: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:16:40 +01:00
parent f0a6c688a6
commit ebe805eedd
+10 -10
View File
@@ -1,9 +1,9 @@
{
lib,
stdenv,
fetchFromGitHub,
postgresql,
buildPostgresqlExtension,
fetchFromGitHub,
lib,
postgresql,
stdenv,
}:
buildPostgresqlExtension rec {
@@ -12,16 +12,16 @@ buildPostgresqlExtension rec {
src = fetchFromGitHub {
owner = "xocolatl";
repo = pname;
rev = "v${version}";
sha256 = "sha256-97v6+WNDcYb/KivlE/JBlRIZ3gYHj68AlK0fylp1cPo=";
repo = "periods";
tag = "v${version}";
hash = "sha256-97v6+WNDcYb/KivlE/JBlRIZ3gYHj68AlK0fylp1cPo=";
};
meta = with lib; {
meta = {
description = "PostgreSQL extension implementing SQL standard functionality for PERIODs and SYSTEM VERSIONING";
homepage = "https://github.com/xocolatl/periods";
maintainers = with maintainers; [ ivan ];
maintainers = with lib.maintainers; [ ivan ];
platforms = postgresql.meta.platforms;
license = licenses.postgresql;
license = lib.licenses.postgresql;
};
}