From 140e029bf517374547cda15efaeef2a051726ba1 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 18 Mar 2026 09:47:29 -0700 Subject: [PATCH] python3Packages.argos-translate-files: 1.4.1 -> 1.4.4 This keeps the upstream argostranslate dependency instead of the argos-translate-lt fork. --- .../argos-translate-files/default.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/argos-translate-files/default.nix b/pkgs/development/python-modules/argos-translate-files/default.nix index 9776dde15d7b..dc86edc06605 100644 --- a/pkgs/development/python-modules/argos-translate-files/default.nix +++ b/pkgs/development/python-modules/argos-translate-files/default.nix @@ -13,18 +13,29 @@ buildPythonPackage (finalAttrs: { pname = "argos-translate-files"; - version = "1.4.1"; + version = "1.4.4"; pyproject = true; src = fetchFromGitHub { owner = "LibreTranslate"; repo = "argos-translate-files"; tag = "v${finalAttrs.version}"; - hash = "sha256-XCrABdyly249dpam0pSwTWHoli/uijoUYKaHQhCqB7Y="; + hash = "sha256-6AxVBiK0g6ajstyCQZ9ExF9MRYSLd4Frw03N7c9bvuI="; }; build-system = [ setuptools ]; + pythonRelaxDeps = [ "beautifulsoup4" ]; + + # LibreTranslate has forked argos-translate [1] to fix some bugs and + # make stanza optional, but it's unclear what the future of this fork + # is. + # + # We'll stay on upstream argostranslate for now. + # + # [1]: https://github.com/Libretranslate/argos-translate/ + pythonRemoveDeps = [ "argos-translate-lt" ]; + dependencies = [ lxml pymupdf