python312Packages.semchunk: init at 3.0.1

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka
2025-02-06 18:59:28 -05:00
parent 6d2b6cc712
commit 4f7ec251f4
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
mpire,
tqdm,
}:
buildPythonPackage rec {
pname = "semchunk";
version = "3.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-UP9nHLHGYNZm5eXHfNufDYhd9pPvrmp3HcVUFAjcAZw=";
};
build-system = [
hatchling
];
dependencies = [
mpire
tqdm
];
pythonImportsCheck = [
"semchunk"
];
meta = {
description = "A fast, lightweight and easy-to-use Python library for splitting text into semantically meaningful chunks";
homepage = "https://pypi.org/project/semchunk/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ booxter ];
};
}
+2
View File
@@ -14765,6 +14765,8 @@ self: super: with self; {
semantic-version = callPackage ../development/python-modules/semantic-version { };
semchunk = callPackage ../development/python-modules/semchunk { };
semgrep = callPackage ../development/python-modules/semgrep {
semgrep-core = callPackage ../development/python-modules/semgrep/semgrep-core.nix { };
};