···
pname = "mistral-common";
-
pname = "mistral_common";
-
hash = "sha256-DRl52CIntiX21xs8goF28FnajQ9aMwfN9TtIQJo5cKQ=";
-
build-system = [ poetry-core ];
-
pythonImportsCheck = [ "mistral_common" ];
description = "Tools to help you work with Mistral models";
homepage = "https://github.com/mistralai/mistral-common";
-
license = licenses.asl20;
-
maintainers = with maintainers; [ bgamari ];
···
pname = "mistral-common";
+
src = fetchFromGitHub {
+
repo = "mistral-common";
+
hash = "sha256-HB6dsqiDSLhjyANk7ZT/cU98mjJamegAF0uKH8GfgM8=";
+
build-system = [ setuptools ];
+
pythonImportsCheck = [ "mistral_common" ];
+
"test_download_gated_image"
+
"test_image_encoder_formats"
+
"test_image_processing"
+
# AssertionError: Regex pattern did not match.
+
# AssertionError, Extra items in the right set
+
"test_openai_chat_fields"
description = "Tools to help you work with Mistral models";
homepage = "https://github.com/mistralai/mistral-common";
+
changelog = "https://github.com/mistralai/mistral-common/releases/tag/v${version}";
+
license = lib.licenses.asl20;
+
maintainers = with lib.maintainers; [ bgamari ];