Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / gtts-token / default.nix
blobf3325aab8e6ea37ae70eeae43d301ceffbdce7d8
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "gtts-token";
10   version = "1.1.4";
12   src = fetchFromGitHub {
13     owner = "boudewijn26";
14     repo = "gTTS-token";
15     rev = "v${version}";
16     sha256 = "0vr52zc0jqyfvsccl67j1baims3cdx2is1y2lpx2kav9gadkn8hp";
17   };
19   propagatedBuildInputs = [
20     requests
21   ];
23   checkInputs = [ pytestCheckHook ];
25   # requires internet access
26   disabledTests = [ "test_real" ];
28   meta = with lib; {
29     description = "Calculates a token to run the Google Translate text to speech";
30     homepage = "https://github.com/boudewijn26/gTTS-token";
31     license = licenses.mit;
32     maintainers = with maintainers; [ makefu ];
33   };