diff options
Diffstat (limited to 'pkgs/development/python-modules/libretranslate/default.nix')
-rw-r--r-- | pkgs/development/python-modules/libretranslate/default.nix | 65 |
1 files changed, 32 insertions, 33 deletions
diff --git a/pkgs/development/python-modules/libretranslate/default.nix b/pkgs/development/python-modules/libretranslate/default.nix index 042fd5d404d1c..82e0377fe6eff 100644 --- a/pkgs/development/python-modules/libretranslate/default.nix +++ b/pkgs/development/python-modules/libretranslate/default.nix @@ -1,43 +1,44 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonRelaxDepsHook -, pytestCheckHook -, hatchling -, argostranslate -, flask -, flask-swagger -, flask-swagger-ui -, flask-limiter -, flask-babel -, flask-session -, waitress -, expiringdict -, langdetect -, lexilang -, ltpycld2 -, morfessor -, appdirs -, apscheduler -, translatehtml -, argos-translate-files -, requests -, redis -, prometheus-client -, polib -, python +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonRelaxDepsHook, + pytestCheckHook, + hatchling, + argostranslate, + flask, + flask-swagger, + flask-swagger-ui, + flask-limiter, + flask-babel, + flask-session, + waitress, + expiringdict, + langdetect, + lexilang, + ltpycld2, + morfessor, + appdirs, + apscheduler, + translatehtml, + argos-translate-files, + requests, + redis, + prometheus-client, + polib, + python, }: buildPythonPackage rec { pname = "libretranslate"; - version = "1.5.6"; + version = "1.5.7"; pyproject = true; src = fetchFromGitHub { owner = "LibreTranslate"; repo = "LibreTranslate"; rev = "refs/tags/v${version}"; - hash = "sha256-43VnxgtapMRKyXxqsvBgSMUxvpbLI+iOfW3FA0/POpE="; + hash = "sha256-lOVi/809ig+KtiNwdt9Wovn+2Q8I6amps1sZ5JJy7WE="; }; build-system = [ @@ -79,9 +80,7 @@ buildPythonPackage rec { doCheck = false; # needs network access - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; # required for import check to work (argostranslate) env.HOME = "/tmp"; |