Files
nixpkgs/pkgs/development/python-modules/deepl/default.nix
Fabian Affolter 867828012b python3Packages.deepl: 1.27.0 -> 1.32.0
https://github.com/DeepLcom/deepl-python/blob/v1.32.0/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-08-25 01:24:18 +02:00

41 lines
944 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
poetry-core,
keyring,
}:
buildPythonPackage rec {
pname = "deepl";
version = "1.32.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MBa/hvH1Prbl/ttFh0bGv2V5qEC1fFSi7XAbA0S8eeE=";
};
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 ];
};
}