From 60235c936ec32fda87af08ccdac1e5ee113b0838 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 26 Jun 2025 08:08:42 +0200 Subject: [PATCH] python3Packages.gitingest: 0.1.4 -> 0.1.5 Changelog: https://github.com/cyclotruc/gitingest/releases/tag/v0.1.5 Diff: https://github.com/cyclotruc/gitingest/compare/v0.1.4..v0.1.5 --- .../python-modules/gitingest/default.nix | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/gitingest/default.nix b/pkgs/development/python-modules/gitingest/default.nix index 30084817b05a..cbd1942461cb 100644 --- a/pkgs/development/python-modules/gitingest/default.nix +++ b/pkgs/development/python-modules/gitingest/default.nix @@ -7,6 +7,8 @@ setuptools, click, fastapi, + pathspec, + pydantic, python-dotenv, slowapi, starlette, @@ -17,33 +19,34 @@ # Tests httpx, jinja2, + gitMinimal, + pytest-asyncio, + pytest-mock, pytestCheckHook, python-multipart, }: buildPythonPackage rec { pname = "gitingest"; - version = "0.1.4"; + version = "0.1.5"; pyproject = true; src = fetchFromGitHub { owner = "cyclotruc"; repo = "gitingest"; tag = "v${version}"; - hash = "sha256-2zt4pYgj5fieYS74QCMA9Kw9FUNb13ZJB/tX7WkMQew="; + hash = "sha256-f/srwLhTXboSlW28qnShqTuc2yLMuHH3MyzfKpDIitQ="; }; build-system = [ setuptools ]; - pythonRelaxDeps = [ - "fastapi" - ]; - dependencies = [ click fastapi + pathspec + pydantic python-dotenv slowapi starlette @@ -59,6 +62,9 @@ buildPythonPackage rec { nativeCheckInputs = [ httpx jinja2 + gitMinimal + pytest-asyncio + pytest-mock pytestCheckHook python-multipart ]; @@ -67,6 +73,13 @@ buildPythonPackage rec { # Tests require network "test_cli_with_default_options" "test_cli_with_options" + "test_cli_with_stdout_output" + "test_cli_writes_file" + "test_clone_specific_branch" + "test_include_ignore_patterns" + "test_ingest_with_gitignore" + "test_parse_query_with_branch" + "test_parse_query_without_host" "test_run_ingest_query" ];