1 { lib, buildPythonPackage, fetchFromGitHub, requests }:
3 buildPythonPackage rec {
8 src = fetchFromGitHub {
10 repo = "py-googletrans";
12 sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
15 propagatedBuildInputs = [ requests ];
17 # majority of tests just try to ping Google's Translate API endpoint
20 pythonImportsCheck = [ "googletrans" ];
23 description = "Googletrans is python library to interact with Google Translate API";
24 mainProgram = "translate";
25 homepage = "https://py-googletrans.readthedocs.io";
26 license = licenses.mit;
27 maintainers = with maintainers; [ unode ];