{ lib , buildPythonPackage , fetchFromGitHub , pythonOlder , requests }: buildPythonPackage rec { pname = "meilisearch"; version = "0.18.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "meilisearch"; repo = "meilisearch-python"; rev = "v${version}"; hash = "sha256-Rd2GmomNzW0+oI2QEGcPY4g8H+4FN7eLKY1ljcibsLw="; }; propagatedBuildInputs = [ requests ]; pythonImportsCheck = [ "meilisearch" ]; # Tests spin up a local server and are not mocking the requests doCheck = false; meta = with lib; { description = "Client for the Meilisearch API"; homepage = "https://github.com/meilisearch/meilisearch-python"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }