Files
nixpkgs/pkgs/development/python-modules/mistral-common/default.nix
T
Martin Weinelt 06c72a45d4 python3Packages.mistral-common: 1.5.6 -> 1.8.3
This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:46 +02:00

58 lines
990 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
numpy,
pydantic,
jsonschema,
opencv-python-headless,
sentencepiece,
typing-extensions,
tiktoken,
pillow,
requests,
}:
buildPythonPackage rec {
pname = "mistral-common";
version = "1.8.3";
pyproject = true;
src = fetchPypi {
pname = "mistral_common";
inherit version;
hash = "sha256-DRl52CIntiX21xs8goF28FnajQ9aMwfN9TtIQJo5cKQ=";
};
pythonRelaxDeps = [
"pillow"
"tiktoken"
];
build-system = [ poetry-core ];
dependencies = [
numpy
pydantic
jsonschema
opencv-python-headless
sentencepiece
typing-extensions
tiktoken
pillow
requests
];
doCheck = true;
pythonImportsCheck = [ "mistral_common" ];
meta = with lib; {
description = "Tools to help you work with Mistral models";
homepage = "https://github.com/mistralai/mistral-common";
license = licenses.asl20;
maintainers = with maintainers; [ bgamari ];
};
}