Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "gtts-token"; 9 version = "1.1.3"; 10 11 src = fetchPypi { 12 pname = "gTTS-token"; 13 inherit version; 14 sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5"; 15 }; 16 17 propagatedBuildInputs = [ 18 requests 19 ]; 20 21 # Tests only in github repo, require working internet connection 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Calculates a token to run the Google Translate text to speech"; 26 homepage = "https://github.com/boudewijn26/gTTS-token"; 27 license = licenses.mit; 28 maintainers = [ maintainers.makefu ]; 29 }; 30} 31