8 buildPythonPackage rec {
11 format = "setuptools";
13 src = fetchFromGitHub {
15 repo = "py-googletrans";
17 sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
20 propagatedBuildInputs = [ requests ];
22 # majority of tests just try to ping Google's Translate API endpoint
25 pythonImportsCheck = [ "googletrans" ];
28 description = "Googletrans is python library to interact with Google Translate API";
29 mainProgram = "translate";
30 homepage = "https://py-googletrans.readthedocs.io";
31 license = licenses.mit;
32 maintainers = with maintainers; [ unode ];