python312Packages.lancedb: add updateScript

This commit is contained in:
natsukium
2024-08-22 10:42:08 +09:00
parent 62a1bf6b8d
commit 6dc177f103
@@ -23,6 +23,7 @@
polars,
pytest-asyncio,
pytestCheckHook,
nix-update-script,
}:
buildPythonPackage rec {
@@ -110,6 +111,16 @@ buildPythonPackage rec {
"test_s3.py"
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"python-v(.*)"
"--generate-lockfile"
"--lockfile-metadata-path"
"python"
];
};
meta = {
description = "Developer-friendly, serverless vector database for AI applications";
homepage = "https://github.com/lancedb/lancedb";