Loading pkgs/development/python-modules/mistral-common/default.nix +28 −2 Original line number Diff line number Diff line Loading @@ -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 ]; Loading @@ -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 = [ Loading Loading
pkgs/development/python-modules/mistral-common/default.nix +28 −2 Original line number Diff line number Diff line Loading @@ -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 ]; Loading @@ -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 = [ Loading