Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 94 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, certifi, docling-core, platformdirs, pluggy, pydantic, pydantic-settings, python-dateutil, python-dotenv, requests, six, tabulate, tqdm, typer, urllib3, anyio, fastapi, uvicorn, pytestCheckHook,}:
buildPythonPackage rec { pname = "deepsearch-toolkit"; version = "2.0.1"; pyproject = true;
src = fetchFromGitHub { owner = "DS4SD"; repo = "deepsearch-toolkit"; tag = "v${version}"; hash = "sha256-nrz9pvyA5gPIaKt6CsJOB9cLy3sXiWW5e1Rk4vtNIY8="; };
build-system = [ poetry-core ];
dependencies = [ certifi docling-core platformdirs pluggy pydantic pydantic-settings python-dateutil python-dotenv requests six tabulate tqdm typer urllib3 ];
pythonRelaxDeps = [ "certifi" "urllib3" ];
optional-dependencies = rec { all = api; api = [ anyio fastapi uvicorn ]; };
pythonImportsCheck = [ "deepsearch" ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # Tests require the creation of a deepsearch profile "test_project_listing" "test_system_info" ];
meta = { changelog = "https://github.com/DS4SD/deepsearch-toolkit/blob/${src.tag}/CHANGELOG.md"; description = "Interact with the Deep Search platform for new knowledge explorations and discoveries"; homepage = "https://github.com/DS4SD/deepsearch-toolkit"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drupol ]; };}