summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycsspeechtts/default.nix
blob: 996e898ccef51058783392a77a087f40dbdac94e (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
32
33
34
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  requests,
}:

buildPythonPackage rec {
  pname = "pycsspeechtts";
  version = "1.0.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-kgof0T22VRU96pKAWuEBo56F6t7o2X/xRS/L5B7UYDY=";
  };

  build-system = [ hatchling ];

  dependencies = [ requests ];

  # Tests require API key and network access
  doCheck = false;

  pythonImportsCheck = [ "pycsspeechtts" ];

  meta = {
    description = "Python library for Microsoft Cognitive Services Text-to-Speech";
    homepage = "https://github.com/jeroenterheerdt/pycsspeechtts";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}