gitingest: init at 0.1.3

+86
+3
pkgs/by-name/gi/gitingest/package.nix
··· 1 + { python3Packages }: 2 + 3 + python3Packages.toPythonApplication python3Packages.gitingest
+81
pkgs/development/python-modules/gitingest/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + 6 + # Dependencies 7 + setuptools, 8 + click, 9 + fastapi, 10 + python-dotenv, 11 + slowapi, 12 + starlette, 13 + tiktoken, 14 + tomli, 15 + uvicorn, 16 + 17 + # Tests 18 + httpx, 19 + jinja2, 20 + pytestCheckHook, 21 + python-multipart, 22 + }: 23 + 24 + buildPythonPackage rec { 25 + pname = "gitingest"; 26 + version = "0.1.3"; 27 + pyproject = true; 28 + 29 + src = fetchFromGitHub { 30 + owner = "cyclotruc"; 31 + repo = "gitingest"; 32 + tag = "v${version}"; 33 + hash = "sha256-RGrenW0modLH9h5pQOexPvEDQ9Bczoj1qInYmgUoGdo="; 34 + }; 35 + 36 + build-system = [ 37 + setuptools 38 + ]; 39 + 40 + pythonRelaxDeps = [ 41 + "fastapi" 42 + ]; 43 + 44 + dependencies = [ 45 + click 46 + fastapi 47 + python-dotenv 48 + slowapi 49 + starlette 50 + tiktoken 51 + tomli 52 + uvicorn 53 + ]; 54 + 55 + pythonImportsCheck = [ 56 + "gitingest" 57 + ]; 58 + 59 + nativeCheckInputs = [ 60 + httpx 61 + jinja2 62 + pytestCheckHook 63 + python-multipart 64 + ]; 65 + 66 + disabledTests = [ 67 + # Tests require network 68 + "test_cli_with_default_options" 69 + "test_cli_with_options" 70 + "test_run_ingest_query" 71 + ]; 72 + 73 + meta = { 74 + changelog = "https://github.com/cyclotruc/gitingest/releases/tag/v${version}"; 75 + description = "Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase"; 76 + homepage = "https://github.com/cyclotruc/gitingest"; 77 + license = lib.licenses.mit; 78 + maintainers = with lib.maintainers; [ drupol ]; 79 + mainProgram = "gitingest"; 80 + }; 81 + }
+2
pkgs/top-level/python-packages.nix
··· 5352 5352 5353 5353 github3-py = callPackage ../development/python-modules/github3-py { }; 5354 5354 5355 + gitingest = callPackage ../development/python-modules/gitingest { }; 5356 + 5355 5357 gitignore-parser = callPackage ../development/python-modules/gitignore-parser { }; 5356 5358 5357 5359 gitlike-commands = callPackage ../development/python-modules/gitlike-commands { };