···
15
+
pydantic-extra-types,
pname = "mistral-common";
23
-
pname = "mistral_common";
25
-
hash = "sha256-DRl52CIntiX21xs8goF28FnajQ9aMwfN9TtIQJo5cKQ=";
39
+
src = fetchFromGitHub {
40
+
owner = "mistralai";
41
+
repo = "mistral-common";
42
+
tag = "v${version}";
43
+
hash = "sha256-HB6dsqiDSLhjyANk7ZT/cU98mjJamegAF0uKH8GfgM8=";
33
-
build-system = [ poetry-core ];
46
+
build-system = [ setuptools ];
54
+
pydantic-extra-types
61
+
pythonImportsCheck = [ "mistral_common" ];
63
+
nativeCheckInputs = [
78
+
"test_download_gated_image"
79
+
"test_image_encoder_formats"
80
+
"test_image_processing"
82
+
# AssertionError: Regex pattern did not match.
49
-
pythonImportsCheck = [ "mistral_common" ];
85
+
# AssertionError, Extra items in the right set
86
+
"test_openai_chat_fields"
description = "Tools to help you work with Mistral models";
homepage = "https://github.com/mistralai/mistral-common";
54
-
license = licenses.asl20;
55
-
maintainers = with maintainers; [ bgamari ];
92
+
changelog = "https://github.com/mistralai/mistral-common/releases/tag/v${version}";
93
+
license = lib.licenses.asl20;
94
+
maintainers = with lib.maintainers; [ bgamari ];