From e4634e0583caa28d161de4e9af6aa7c84a97d530 Mon Sep 17 00:00:00 2001 From: mana-byte Date: Fri, 16 Jan 2026 22:55:52 +0100 Subject: [PATCH 1/3] python3Packages.mistralai: add mana-byte to maintainers --- pkgs/development/python-modules/mistralai/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mistralai/default.nix b/pkgs/development/python-modules/mistralai/default.nix index d6def4e2bc9c..dbbc358e16a9 100644 --- a/pkgs/development/python-modules/mistralai/default.nix +++ b/pkgs/development/python-modules/mistralai/default.nix @@ -91,6 +91,9 @@ buildPythonPackage rec { homepage = "https://github.com/mistralai/client-python"; changelog = "https://github.com/mistralai/client-python/blob/${src.tag}/RELEASES.md"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ GaetanLepage ]; + maintainers = with lib.maintainers; [ + GaetanLepage + mana-byte + ]; }; } From 3863ec20e4d1c520b77fe3f491e9fe43f12b772f Mon Sep 17 00:00:00 2001 From: mana-byte Date: Fri, 16 Jan 2026 23:01:32 +0100 Subject: [PATCH 2/3] python3Packages.mistralai: 1.10.0 -> 1.10.1 --- pkgs/development/python-modules/mistralai/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mistralai/default.nix b/pkgs/development/python-modules/mistralai/default.nix index dbbc358e16a9..9af13cc9e469 100644 --- a/pkgs/development/python-modules/mistralai/default.nix +++ b/pkgs/development/python-modules/mistralai/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, # build-system - poetry-core, + hatchling, # dependencies eval-type-backport, @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "mistralai"; - version = "1.10.0"; + version = "1.10.1"; pyproject = true; src = fetchFromGitHub { owner = "mistralai"; repo = "client-python"; tag = "v${version}"; - hash = "sha256-B7ZJTwykFnOibTJL5AP3eKT15rLgAJ1hc53BL9TR0CM="; + hash = "sha256-y1et8Ez5TAge0kk/a9fA1zcgPStYf+6aO19OLhMGk/8="; }; preBuild = '' @@ -47,7 +47,7 @@ buildPythonPackage rec { ''; build-system = [ - poetry-core + hatchling ]; pythonRelaxDeps = [ From d1d81193d5777b653b7af5dfc3195330ce925ca4 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 17 Jan 2026 10:14:57 +0000 Subject: [PATCH 3/3] python3Packages.mistralai: use finalAttrs pattern --- pkgs/development/python-modules/mistralai/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mistralai/default.nix b/pkgs/development/python-modules/mistralai/default.nix index 9af13cc9e469..6abc437a4160 100644 --- a/pkgs/development/python-modules/mistralai/default.nix +++ b/pkgs/development/python-modules/mistralai/default.nix @@ -9,6 +9,7 @@ # dependencies eval-type-backport, httpx, + httpcore, invoke, opentelemetry-api, opentelemetry-exporter-otlp-proto-http, @@ -30,7 +31,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mistralai"; version = "1.10.1"; pyproject = true; @@ -38,7 +39,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mistralai"; repo = "client-python"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-y1et8Ez5TAge0kk/a9fA1zcgPStYf+6aO19OLhMGk/8="; }; @@ -89,11 +90,11 @@ buildPythonPackage rec { meta = { description = "Python client library for Mistral AI platform"; homepage = "https://github.com/mistralai/client-python"; - changelog = "https://github.com/mistralai/client-python/blob/${src.tag}/RELEASES.md"; + changelog = "https://github.com/mistralai/client-python/blob/${finalAttrs.src.tag}/RELEASES.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage mana-byte ]; }; -} +})