{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pymongo, }: buildPythonPackage rec { pname = "pymongo-search-utils"; version = "0.2.1"; pyproject = true; src = fetchFromGitHub { owner = "mongodb-labs"; repo = "pymongo-search-utils"; tag = version; hash = "sha256-nNXJwRtN5AICpI/OdS+ToYbUIfMSL88XiO6Hrh2R8NA="; }; build-system = [ hatchling ]; dependencies = [ pymongo ]; # tests require mongodb running in the background doCheck = false; pythonImportsCheck = [ "pymongo_search_utils" ]; meta = { description = "Vector Search utilities for PyMongo"; homepage = "https://github.com/mongodb-labs/pymongo-search-utils/"; changelog = "https://github.com/mongodb-labs/pymongo-search-utils/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ sarahec ]; }; }