Commit 140e029b authored by Steven Allen's avatar Steven Allen
Browse files

python3Packages.argos-translate-files: 1.4.1 -> 1.4.4

This keeps the upstream argostranslate dependency instead of the
argos-translate-lt fork.
parent 0bafac1f
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -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