{ lib, python311Packages }: with python311Packages; let # Stripped down version of the tts package (original is broken and needs cuda) tts = let pname = "TTS"; version = "0.22.0"; in buildPythonPackage { inherit pname version; src = pkgs.fetchPypi { inherit pname version; sha256 = "sha256-uREZ2n/yrns9rnMo7fmvTbO0jEDrTOFdEe2PXum9cIY="; }; doCheck = false; dependencies = [ cython numpy torch torchaudio coqpit trainer pysbd pandas matplotlib anyascii inflect bangla bnnumerizer bnunicodenormalizer gruut jamo jieba pypinyin ]; }; in buildPythonApplication { pname = "mensa-tts"; version = "1.0"; pyproject = true; src = ./.; build-system = [ setuptools setuptools-scm ]; dependencies = [ requests tts librosa ]; meta = with lib; { description = "Satnogs Demo Display"; homepage = "https://forgejo.zenerdio.de/sebastian/satnogs-demo-display"; platforms = platforms.unix; }; }