nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "pycsspeechtts";
11 version = "1.0.8";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-kgof0T22VRU96pKAWuEBo56F6t7o2X/xRS/L5B7UYDY=";
17 };
18
19 build-system = [ hatchling ];
20
21 dependencies = [ requests ];
22
23 # Tests require API key and network access
24 doCheck = false;
25
26 pythonImportsCheck = [ "pycsspeechtts" ];
27
28 meta = {
29 description = "Python library for Microsoft Cognitive Services Text-to-Speech";
30 homepage = "https://github.com/jeroenterheerdt/pycsspeechtts";
31 license = lib.licenses.mit;
32 maintainers = [ lib.maintainers.jamiemagee ];
33 };
34}