seagoat: 0.50.1 -> 0.54.3 (#387910)

Changed files
+35 -18
pkgs
by-name
se
seagoat
+35 -18
pkgs/by-name/se/seagoat/package.nix
···
lib,
fetchFromGitHub,
python3Packages,
+
+
# tests
+
gitMinimal,
ripgrep,
-
gitMinimal,
+
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
pname = "seagoat";
-
version = "0.50.1";
+
version = "0.54.3";
pyproject = true;
src = fetchFromGitHub {
owner = "kantord";
repo = "SeaGOAT";
tag = "v${version}";
-
hash = "sha256-tf3elcKXUwBqtSStDksOaSN3Q66d72urrG/Vab2M4f0=";
+
hash = "sha256-uSOFak5fQkj4noYRgzjOFV/wlRdsMLDbNpb4ud3+gE4=";
};
build-system = [ python3Packages.poetry-core ];
+
+
pythonRelaxDeps = [
+
"chromadb"
+
"psutil"
+
];
dependencies = with python3Packages; [
appdirs
blessed
chardet
-
flask
-
deepmerge
chromadb
+
deepmerge
+
flask
gitpython
+
halo
jsonschema
+
nest-asyncio
+
ollama
+
psutil
pygments
requests
-
nest-asyncio
-
waitress
-
psutil
stop-words
+
waitress
];
-
nativeCheckInputs = with python3Packages; [
-
pytestCheckHook
-
freezegun
-
pytest-asyncio
-
pytest-mock
-
pytest-snapshot
-
gitMinimal
-
ripgrep
-
];
+
nativeCheckInputs =
+
with python3Packages;
+
[
+
pytestCheckHook
+
freezegun
+
pytest-asyncio
+
pytest-mock
+
pytest-snapshot
+
]
+
++ [
+
gitMinimal
+
ripgrep
+
writableTmpDirAsHomeHook
+
];
disabledTests = import ./failing_tests.nix;
···
];
preCheck = ''
-
export HOME=$(mktemp -d)
git init
'';
+
__darwinAllowLocalNetworking = true;
+
postInstall = ''
wrapProgram $out/bin/seagoat-server \
--prefix PATH : "${ripgrep}/bin"
···
meta = {
description = "Local-first semantic code search engine";
homepage = "https://kantord.github.io/SeaGOAT/";
+
changelog = "https://github.com/kantord/SeaGOAT/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lavafroth ];
mainProgram = "seagoat";