python3Packages.deepl: init at 1.13.0
This commit is contained in:
parent
e1f1c7eb79
commit
01fbc66669
41
pkgs/development/python-modules/deepl/default.nix
Normal file
41
pkgs/development/python-modules/deepl/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, poetry-core
|
||||||
|
, keyring
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "deepl";
|
||||||
|
version = "1.13.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-Rq7L/rgfJJ3ZspuL1IfZv+x60t8cZRPkrVryJf12WLk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
keyring
|
||||||
|
];
|
||||||
|
|
||||||
|
# Requires internet access and an API key
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"deepl"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A language translation API that allows other computer programs to send texts and documents to DeepL's servers and receive high-quality translations";
|
||||||
|
homepage = "https://github.com/DeepLcom/deepl-python";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ MaskedBelgian ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2337,6 +2337,8 @@ self: super: with self; {
|
||||||
|
|
||||||
deepdish = callPackage ../development/python-modules/deepdish { };
|
deepdish = callPackage ../development/python-modules/deepdish { };
|
||||||
|
|
||||||
|
deepl = callPackage ../development/python-modules/deepl { };
|
||||||
|
|
||||||
deepmerge = callPackage ../development/python-modules/deepmerge { };
|
deepmerge = callPackage ../development/python-modules/deepmerge { };
|
||||||
|
|
||||||
deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };
|
deeptoolsintervals = callPackage ../development/python-modules/deeptoolsintervals { };
|
||||||
|
|
Loading…
Reference in a new issue