Merge pull request #307105 from ViZiD/epitran

python312Packages.epitran: init at 1.24

authored by Fabian Affolter and committed by GitHub dec10094 9516f3c9

+60
+58
pkgs/development/python-modules/epitran/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + fetchFromGitHub, 6 + 7 + unittestCheckHook, 8 + 9 + setuptools, 10 + 11 + regex, 12 + panphon, 13 + marisa-trie, 14 + requests, 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "epitran"; 19 + version = "1.24"; 20 + pyproject = true; 21 + 22 + src = fetchFromGitHub { 23 + owner = "dmort27"; 24 + repo = "epitran"; 25 + rev = "refs/tags/${version}"; 26 + hash = "sha256-AH4q8J5oMaUVJ559qe/ZlJXlCcGdxWnxMhnZKCH5Rlk="; 27 + }; 28 + 29 + build-system = [ setuptools ]; 30 + 31 + dependencies = [ 32 + regex 33 + panphon 34 + marisa-trie 35 + requests 36 + ]; 37 + 38 + nativeCheckInputs = [ unittestCheckHook ]; 39 + 40 + unittestFlagsArray = [ 41 + "-s" 42 + "test" 43 + ]; 44 + 45 + pythonImportsCheck = [ 46 + "epitran" 47 + "epitran.backoff" 48 + "epitran.vector" 49 + ]; 50 + 51 + meta = with lib; { 52 + description = "Tools for transcribing languages into IPA"; 53 + homepage = "https://github.com/dmort27/epitran"; 54 + changelog = "https://github.com/dmort27/epitran/releases/tag/${version}"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ vizid ]; 57 + }; 58 + }
+2
pkgs/top-level/python-packages.nix
··· 3849 3849 3850 3850 epion = callPackage ../development/python-modules/epion { }; 3851 3851 3852 + epitran = callPackage ../development/python-modules/epitran { }; 3853 + 3852 3854 epson-projector = callPackage ../development/python-modules/epson-projector { }; 3853 3855 3854 3856 equinox = callPackage ../development/python-modules/equinox { };