Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 56 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, stdenv, replaceVars, buildPythonPackage, fetchPypi, joblib, segments, attrs, dlinfo, typing-extensions, espeak-ng, setuptools, pytest,}:
buildPythonPackage rec { pname = "phonemizer"; version = "3.3.0"; pyproject = true;
build-system = [ setuptools ];
src = fetchPypi { inherit pname version; hash = "sha256-Xgw4Ei7/4LMxok5nSv8laHTs4WnXCpzxEgM3tW+OPQw="; };
patches = [ (replaceVars ./backend-paths.patch { libespeak = "${lib.getLib espeak-ng}/lib/libespeak-ng${stdenv.hostPlatform.extensions.sharedLibrary}"; # FIXME package festival }) ];
propagatedBuildInputs = [ joblib segments attrs dlinfo typing-extensions ];
# We tried to package festival, but were unable to get the backend running, # so let's disable related tests. doCheck = false;
meta = { homepage = "https://github.com/bootphon/phonemizer"; changelog = "https://github.com/bootphon/phonemizer/blob/v${version}/CHANGELOG.md"; description = "Simple text to phones converter for multiple languages"; mainProgram = "phonemize"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ bot-wxt1221 ]; };}