Commit c99ea9bb authored by Steven Allen's avatar Steven Allen
Browse files

libretranslate: 1.9.0 -> 1.9.5

This keeps the upstream argostranslate dependency instead of the
argos-translate-lt fork.
parent a16e7472
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -34,14 +34,14 @@

buildPythonPackage (finalAttrs: {
  pname = "libretranslate";
  version = "1.9.0";
  version = "1.9.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "LibreTranslate";
    repo = "LibreTranslate";
    hash = "sha256-bBs7gG42H4MNca5RUiedKNQkLjKpBm2SbPMRyh2gh6c=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-VcMo1GX+ituQOW8Dpt0ABJG5fsJbFuxAPmi59Byg5ww=";
  };

  build-system = [
@@ -50,6 +50,14 @@ buildPythonPackage (finalAttrs: {

  pythonRelaxDeps = true;

  # 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 = [
    argostranslate
    flask