python3Packages.mistral-common: 1.8.4 -> 1.8.5 (#465215)
This commit is contained in:
@@ -33,14 +33,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mistral-common";
|
||||
version = "1.8.4";
|
||||
version = "1.8.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mistralai";
|
||||
repo = "mistral-common";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-HB6dsqiDSLhjyANk7ZT/cU98mjJamegAF0uKH8GfgM8=";
|
||||
hash = "sha256-k0En4QHQGzuUm6kdAyPQhbCrmwX3ay/xJ/ktCxiZIBk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -58,6 +58,32 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
optional-dependencies = lib.fix (self: {
|
||||
opencv = [
|
||||
opencv-python-headless
|
||||
];
|
||||
sentencepiece = [
|
||||
sentencepiece
|
||||
];
|
||||
soundfile = [
|
||||
soundfile
|
||||
];
|
||||
soxr = [
|
||||
soxr
|
||||
];
|
||||
audio = self.soundfile ++ self.soxr;
|
||||
image = self.opencv;
|
||||
hf-hub = [
|
||||
huggingface-hub
|
||||
];
|
||||
server = [
|
||||
click
|
||||
fastapi
|
||||
pydantic-settings
|
||||
]
|
||||
++ fastapi.optional-dependencies.standard;
|
||||
});
|
||||
|
||||
pythonImportsCheck = [ "mistral_common" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user