1 { lib, buildPythonPackage, fetchFromGitHub, requests }:
3 buildPythonPackage rec {
7 src = fetchFromGitHub {
9 repo = "py-googletrans";
11 sha256 = "0wzzinn0k9rfv9z1gmfk9l4kljyd4n6kizsjw4wjxv91kfhj92hz";
14 propagatedBuildInputs = [ requests ];
16 # majority of tests just try to ping Google's Translate API endpoint
19 pythonImportsCheck = [ "googletrans" ];
22 description = "Googletrans is python library to interact with Google Translate API";
23 homepage = "https://py-googletrans.readthedocs.io";
24 license = licenses.mit;
25 maintainers = with maintainers; [ unode ];