python38Packages.deep-translator: init at 1.5.5
This commit is contained in:
committed by
Jonathan Ringer
parent
3f01341c8a
commit
f6506072b5
@@ -0,0 +1,33 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, requests, click }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deep-translator";
|
||||
version = "1.5.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-XARhzRsquvKcdhPcooGIEmhGN7QJOCubcvOrZB0nhxU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
requests
|
||||
click
|
||||
];
|
||||
|
||||
# Initializing it during build won't work as it needs connection with
|
||||
# APIs and the build environment is isolated (#148572 for details).
|
||||
# After built, it works as intended.
|
||||
#pythonImportsCheck = [ "deep_translator" ];
|
||||
|
||||
# Again, initializing an instance needs network connection.
|
||||
# Tests will fail.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flexible, free and unlimited Python tool to translate between different languages in a simple way using multiple translators";
|
||||
homepage = "https://deep-translator.readthedocs.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
};
|
||||
}
|
||||
@@ -31241,6 +31241,8 @@ with pkgs;
|
||||
|
||||
deeptools = callPackage ../applications/science/biology/deeptools { python = python3; };
|
||||
|
||||
deep-translator = with python3Packages; toPythonApplication deep-translator;
|
||||
|
||||
delly = callPackage ../applications/science/biology/delly { };
|
||||
|
||||
diamond = callPackage ../applications/science/biology/diamond { };
|
||||
|
||||
@@ -2014,6 +2014,8 @@ in {
|
||||
|
||||
deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };
|
||||
|
||||
deep-translator = callPackage ../development/python-modules/deep-translator { };
|
||||
|
||||
deezer-py = callPackage ../development/python-modules/deezer-py { };
|
||||
|
||||
deezer-python = callPackage ../development/python-modules/deezer-python { };
|
||||
|
||||
Reference in New Issue
Block a user