Skip to content

Commit

Permalink
phonemizer: fix build (#354946)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Nov 10, 2024
2 parents 802cb21 + fc94ad9 commit a0c28de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/development/python-modules/phonemizer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
dlinfo,
typing-extensions,
espeak-ng,
setuptools,
pytest,
}:

buildPythonPackage rec {
pname = "phonemizer";
version = "3.3.0";
format = "setuptools";
pyproject = true;

build-system = [ setuptools ];

src = fetchPypi {
inherit pname version;
hash = "sha256-Xgw4Ei7/4LMxok5nSv8laHTs4WnXCpzxEgM3tW+OPQw=";
};

postPatch = ''
sed -i '/pytest-runner/d' setup.py
'';

patches = [
(substituteAll {
src = ./backend-paths.patch;
Expand All @@ -46,12 +46,12 @@ buildPythonPackage rec {
# so let's disable related tests.
doCheck = false;

meta = with lib; {
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 = licenses.gpl3Plus;
maintainers = [ ];
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
};
}

0 comments on commit a0c28de

Please sign in to comment.