From bd6a5683aa54ed6f471eda3f2da3feefed8ef6c6 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 16 Feb 2026 18:08:21 -0800 Subject: [PATCH] python313Packages.argostranslate: add missing dependency sacremoses Argostranslate, and therefore libretranslate, requires this package to tokenize text. --- pkgs/development/python-modules/argostranslate/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/argostranslate/default.nix b/pkgs/development/python-modules/argostranslate/default.nix index 512ebcc3449c..03cf9ab06c1d 100644 --- a/pkgs/development/python-modules/argostranslate/default.nix +++ b/pkgs/development/python-modules/argostranslate/default.nix @@ -5,6 +5,7 @@ pytestCheckHook, ctranslate2, ctranslate2-cpp, + sacremoses, sentencepiece, stanza, }: @@ -30,6 +31,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ ctranslate2OneDNN + sacremoses sentencepiece stanza ];