Merge pull request #307105 from ViZiD/epitran
python312Packages.epitran: init at 1.24
This commit is contained in:
commit
dec10094ce
58
pkgs/development/python-modules/epitran/default.nix
Normal file
58
pkgs/development/python-modules/epitran/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
|
||||
unittestCheckHook,
|
||||
|
||||
setuptools,
|
||||
|
||||
regex,
|
||||
panphon,
|
||||
marisa-trie,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "epitran";
|
||||
version = "1.24";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmort27";
|
||||
repo = "epitran";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-AH4q8J5oMaUVJ559qe/ZlJXlCcGdxWnxMhnZKCH5Rlk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
regex
|
||||
panphon
|
||||
marisa-trie
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
unittestFlagsArray = [
|
||||
"-s"
|
||||
"test"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"epitran"
|
||||
"epitran.backoff"
|
||||
"epitran.vector"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for transcribing languages into IPA";
|
||||
homepage = "https://github.com/dmort27/epitran";
|
||||
changelog = "https://github.com/dmort27/epitran/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vizid ];
|
||||
};
|
||||
}
|
@ -3849,6 +3849,8 @@ self: super: with self; {
|
||||
|
||||
epion = callPackage ../development/python-modules/epion { };
|
||||
|
||||
epitran = callPackage ../development/python-modules/epitran { };
|
||||
|
||||
epson-projector = callPackage ../development/python-modules/epson-projector { };
|
||||
|
||||
equinox = callPackage ../development/python-modules/equinox { };
|
||||
|
Loading…
Reference in New Issue
Block a user