Skip to content

Commit

Permalink
seagoat: init at 0.50.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lavafroth committed Jan 8, 2025
1 parent 5f736f2 commit 394813b
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkgs/by-name/se/seagoat/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
lib,
fetchPypi,
python3Packages,
ripgrep,
}:

python3Packages.buildPythonApplication rec {
pname = "seagoat";
version = "0.50.1";
pyproject = true;

build-system = [ python3Packages.poetry-core ];

dependencies = with python3Packages; [
appdirs
blessed
chardet
flask
deepmerge
chromadb
gitpython
jsonschema
pygments
requests
nest-asyncio
waitress
psutil
stop-words
];

src = fetchPypi {
inherit pname version;
hash = "sha256-WFAtMmRcoDMoy7TdbenXX4plzihmm7j4dc3yNszMGrM=";
};

nativeCheckInputs = with python3Packages; [
pytestCheckHook
];

postInstall = ''
wrapProgram $out/bin/seagoat-server \
--prefix PATH : "${ripgrep}/bin"
'';

meta = {
description = "Local-first semantic code search engine";
homepage = "https://kantord.github.io/SeaGOAT/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lavafroth ];
mainProgram = "seagoat";
};
}

0 comments on commit 394813b

Please sign in to comment.