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