Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.0 kB · 77 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, requests, packaging, pydantic, typing-extensions, requests-mock,}:
buildPythonPackage rec { name = "marqo"; version = "3.12.0"; pyproject = true;
src = fetchFromGitHub { owner = "marqo-ai"; repo = "py-marqo"; rev = "refs/tags/${version}"; hash = "sha256-phO7aR7kQJHw5qxrpMI5DtOaXlaHMsKfaC3UquyD/Rw="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook requests-mock typing-extensions ];
disabledTestPaths = [ # Tests require network "tests/v2_tests/test_tensor_search.py" "tests/v2_tests/test_client.py" "tests/v2_tests/test_get_settings.py" "tests/v2_tests/test_tensor_search.py" "tests/v2_tests/test_add_documents.py" "tests/v2_tests/test_delete_documents.py" "tests/v2_tests/test_demos.py" "tests/v2_tests/test_custom_vector_search.py" "tests/v2_tests/test_create_index.py" "tests/v2_tests/test_image_chunking.py" "tests/v2_tests/test_telemetry.py" "tests/v2_tests/test_score_modifier_search.py" "tests/v2_tests/test_model_cache_management.py" "tests/v2_tests/test_embed.py" "tests/v2_tests/test_index_init_logging.py" "tests/v2_tests/test_marqo_cloud_instance_mapping.py" "tests/v2_tests/test_index_manipulation_features.py" "tests/v2_tests/test_index.py" "tests/v2_tests/test_get_indexes.py" "tests/v2_tests/test_hybrid_search.py" "tests/v2_tests/test_logging.py" "tests/v2_tests/test_recommend.py" ];
dependencies = [ packaging pydantic requests ];
pythonRemoveDeps = [ "urllib3" ];
pythonImportsCheck = [ "marqo" ];
meta = with lib; { description = "Unified embedding generation and search engine"; homepage = "https://marqo.ai"; changelog = "https://github.com/marqo-ai/py-marqo/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ naufik ]; };}