Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 72 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ lib, buildPythonPackage, fetchFromGitHub, grpcio, grpcio-tools, h2, httpx, numpy, pytestCheckHook, poetry-core, pydantic, pythonOlder, typing-extensions, urllib3}:
buildPythonPackage rec { pname = "qdrant-client"; version = "1.1.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "qdrant"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-rpNTV3VBTND39iW/kve0aG1KJzAIl1whmhH+e6RbOhw="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ numpy httpx grpcio typing-extensions grpcio-tools pydantic urllib3 h2 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "qdrant_client" ];
disabledTests = [ # Tests require network access "test_conditional_payload_update" "test_locks" "test_multiple_vectors" "test_points_crud" "test_qdrant_client_integration" "test_quantization_config" "test_record_upload" ];
meta = with lib; { description = "Python client for Qdrant vector search engine"; homepage = "https://github.com/qdrant/qdrant-client"; changelog = "https://github.com/qdrant/qdrant-client/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; };}