python3Package.sentence-stream: init at 1.1.0
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
regex,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentence-stream";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OHF-Voice";
|
||||
repo = "sentence-stream";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2jEEytDa8LIkwoYV5MXuA9mpEFrZYymtdxj0vgMAiWo=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
regex
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sentence_stream"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A small sentence splitter for text streams";
|
||||
homepage = "https://github.com/OHF-Voice/sentence-stream";
|
||||
changelog = "https://github.com/OHF-Voice/sentence-stream/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -16272,6 +16272,8 @@ self: super: with self; {
|
||||
|
||||
sentence-splitter = callPackage ../development/python-modules/sentence-splitter { };
|
||||
|
||||
sentence-stream = callPackage ../development/python-modules/sentence-stream { };
|
||||
|
||||
sentence-transformers = callPackage ../development/python-modules/sentence-transformers { };
|
||||
|
||||
sentencepiece = callPackage ../development/python-modules/sentencepiece {
|
||||
|
||||
Reference in New Issue
Block a user