Files
nixpkgs/pkgs/development/python-modules/deepl/default.nix
T
Martin Weinelt a9ee40fb98 python3Packages.deepl: 1.25.0 -> 1.27.0
https://github.com/DeepLcom/deepl-python/blob/v1.27.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:56 +01:00

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 ];
};
}