From 3a0660802582024337f6dfa232b4e694d3e5cb73 Mon Sep 17 00:00:00 2001 From: Petr Zahradnik Date: Wed, 27 Aug 2025 21:30:33 +0200 Subject: [PATCH] python3packages.gitingest: move GitHub organization, fix dependencies --- .../python-modules/gitingest/default.nix | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/gitingest/default.nix b/pkgs/development/python-modules/gitingest/default.nix index 48fc94d64b0e..6b51ae2fb5a9 100644 --- a/pkgs/development/python-modules/gitingest/default.nix +++ b/pkgs/development/python-modules/gitingest/default.nix @@ -5,11 +5,15 @@ # Dependencies setuptools, + boto3, click, fastapi, + loguru, pathspec, + prometheus-client, pydantic, python-dotenv, + sentry-sdk, slowapi, starlette, tiktoken, @@ -32,7 +36,7 @@ buildPythonPackage rec { pyproject = true; src = fetchFromGitHub { - owner = "cyclotruc"; + owner = "coderamp-labs"; repo = "gitingest"; tag = "v${version}"; hash = "sha256-drsncGneZyOCC2GJbrDM+bf4QGI2luacxMhrmdk03l4="; @@ -43,11 +47,16 @@ buildPythonPackage rec { ]; dependencies = [ + boto3 click fastapi + httpx + loguru pathspec + prometheus-client pydantic python-dotenv + sentry-sdk slowapi starlette tiktoken @@ -60,7 +69,6 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - httpx jinja2 gitMinimal pytest-asyncio @@ -77,16 +85,22 @@ buildPythonPackage rec { "test_cli_writes_file" "test_clone_specific_branch" "test_include_ignore_patterns" + "test_ingest_summary" "test_ingest_with_gitignore" "test_parse_query_with_branch" "test_parse_query_without_host" + "test_remote_repository_analysis" + "test_large_repository" + "test_concurrent_requests" + "test_large_file_handling" + "test_repository_with_patterns" "test_run_ingest_query" ]; meta = { - changelog = "https://github.com/cyclotruc/gitingest/releases/tag/${src.tag}"; + changelog = "https://github.com/coderamp-labs/gitingest/releases/tag/${src.tag}"; description = "Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase"; - homepage = "https://github.com/cyclotruc/gitingest"; + homepage = "https://github.com/coderamp-labs/gitingest"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ]; mainProgram = "gitingest";