a9ee40fb98
https://github.com/DeepLcom/deepl-python/blob/v1.27.0/CHANGELOG.md This commit was automatically generated using update-python-libraries.
41 lines
944 B
Nix
41 lines
944 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
poetry-core,
|
|
keyring,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deepl";
|
|
version = "1.27.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-jYOlPZWP+pY4j17NZCWp2dkxFEwWwFx6hOzrmhRUu5I=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
keyring
|
|
];
|
|
|
|
# Requires internet access and an API key
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "deepl" ];
|
|
|
|
meta = {
|
|
description = "Language translation API that allows other computer programs to send texts and documents to DeepL's servers and receive high-quality translations";
|
|
mainProgram = "deepl";
|
|
homepage = "https://github.com/DeepLcom/deepl-python";
|
|
changelog = "https://github.com/DeepLcom/deepl-python/blob/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ MaskedBelgian ];
|
|
};
|
|
}
|