Something went wrong. Try again.
lol
Something went wrong. Try again.
944 B · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ 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 ]; };}