vectorcode: init at 0.5.3
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "vectorcode";
|
||||
version = "0.5.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Davidyz";
|
||||
repo = "VectorCode";
|
||||
tag = version;
|
||||
hash = "sha256-Vfo+wY51b3triiDhURlMl1iKNlYDy7eqEtT9/RVNZCM=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
chromadb
|
||||
httpx
|
||||
numpy
|
||||
pathspec
|
||||
psutil
|
||||
pygments
|
||||
sentence-transformers
|
||||
shtab
|
||||
tabulate
|
||||
transformers
|
||||
tree-sitter
|
||||
tree-sitter-language-pack
|
||||
];
|
||||
|
||||
optional-dependencies = with python3Packages; {
|
||||
intel = [
|
||||
openvino
|
||||
optimum
|
||||
];
|
||||
legacy = [
|
||||
numpy
|
||||
torch
|
||||
transformers
|
||||
];
|
||||
lsp = [
|
||||
lsprotocol
|
||||
pygls
|
||||
];
|
||||
mcp = [
|
||||
mcp
|
||||
pydantic
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "vectorcode" ];
|
||||
|
||||
nativeCheckInputs =
|
||||
[
|
||||
versionCheckHook
|
||||
]
|
||||
++ (with python3Packages; [
|
||||
mcp
|
||||
pygls
|
||||
pytestCheckHook
|
||||
]);
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
disabledTests = [
|
||||
# Require internet access
|
||||
"test_get_embedding_function"
|
||||
"test_get_embedding_function_fallback"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Code repository indexing tool to supercharge your LLM experience";
|
||||
homepage = "https://github.com/Davidyz/VectorCode";
|
||||
changelog = "https://github.com/Davidyz/VectorCode/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
mainProgram = "vectorcode";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user