Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
996 B · 54 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchPypi, poetry-core, pythonOlder, fastavro, httpx, httpx-sse, pydantic, requests, tokenizers, types-requests, typing-extensions,}:
buildPythonPackage rec { pname = "cohere"; version = "5.3.4"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-tFoshbAl3RU2fWm/knSN5KMOyCq7Swj6UwG3LokFH+I="; };
build-system = [ poetry-core ];
dependencies = [ fastavro httpx httpx-sse pydantic requests tokenizers types-requests typing-extensions ];
# tests require CO_API_KEY doCheck = false;
pythonImportsCheck = [ "cohere" ];
meta = with lib; { description = "Simplify interfacing with the Cohere API"; homepage = "https://docs.cohere.com/docs"; changelog = "https://github.com/cohere-ai/cohere-python/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; };}