postgresqlPackages.lantern: modernize

This commit is contained in:
Wolfgang Walther
2025-03-18 18:16:39 +01:00
parent 408c32a5e4
commit f0a6c688a6
+6 -6
View File
@@ -1,12 +1,12 @@
{
lib,
stdenv,
buildPostgresqlExtension,
cmake,
fetchFromGitHub,
lib,
openssl,
postgresql,
postgresqlTestExtension,
buildPostgresqlExtension,
stdenv,
}:
buildPostgresqlExtension (finalAttrs: {
@@ -16,7 +16,7 @@ buildPostgresqlExtension (finalAttrs: {
src = fetchFromGitHub {
owner = "lanterndata";
repo = "lantern";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-IsDD/um5pVvbzin8onf45DQVszl+Id/pJSQ2iijgHmg=";
fetchSubmodules = true;
};
@@ -51,11 +51,11 @@ buildPostgresqlExtension (finalAttrs: {
'';
};
meta = with lib; {
meta = {
description = "PostgreSQL vector database extension for building AI applications";
homepage = "https://lantern.dev/";
changelog = "https://github.com/lanterndata/lantern/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = licenses.agpl3Only;
license = lib.licenses.agpl3Only;
maintainers = [ ];
platforms = postgresql.meta.platforms;
};