aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/gtts-token/default.nix
blob: d3443ef0c97e1cbe00f8fdb729a3296d54492a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
  pname = "gtts-token";
  version = "1.1.3";

  src = fetchPypi {
    pname = "gTTS-token";
    inherit version;
    sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5";
  };

  propagatedBuildInputs = [
    requests
  ];

  # Tests only in github repo, require working internet connection
  doCheck = false;

  meta = with lib; {
    description = "Calculates a token to run the Google Translate text to speech";
    homepage = "https://github.com/boudewijn26/gTTS-token";
    license = licenses.mit;
    maintainers = [ maintainers.makefu ];
  };
}