Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 81 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, buildPythonPackage, fetchFromGitHub,
# Dependencies setuptools, click, fastapi, python-dotenv, slowapi, starlette, tiktoken, tomli, uvicorn,
# Tests httpx, jinja2, pytestCheckHook, python-multipart,}:
buildPythonPackage rec { pname = "gitingest"; version = "0.1.4"; pyproject = true;
src = fetchFromGitHub { owner = "cyclotruc"; repo = "gitingest"; tag = "v${version}"; hash = "sha256-2zt4pYgj5fieYS74QCMA9Kw9FUNb13ZJB/tX7WkMQew="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "fastapi" ];
dependencies = [ click fastapi python-dotenv slowapi starlette tiktoken tomli uvicorn ];
pythonImportsCheck = [ "gitingest" ];
nativeCheckInputs = [ httpx jinja2 pytestCheckHook python-multipart ];
disabledTests = [ # Tests require network "test_cli_with_default_options" "test_cli_with_options" "test_run_ingest_query" ];
meta = { changelog = "https://github.com/cyclotruc/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"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drupol ]; mainProgram = "gitingest"; };}