Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, camel-converter, fetchFromGitHub, pythonOlder, setuptools, requests}:
buildPythonPackage rec { pname = "meilisearch"; version = "0.28.0"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "meilisearch"; repo = "meilisearch-python"; rev = "refs/tags/v${version}"; hash = "sha256-gSJ7B2QaO6ei1wJwxpN/ciZ7VH6Bg1Qp8bUlrdLxtCs="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ camel-converter requests ] ++ camel-converter.optional-dependencies.pydantic;
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"; changelog = "https://github.com/meilisearch/meilisearch-python/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}