Skip to content

Commit 4f7ec25

Browse files
committed
python312Packages.semchunk: init at 3.0.1
Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent 6d2b6cc commit 4f7ec25

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
hatchling,
6+
mpire,
7+
tqdm,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "semchunk";
12+
version = "3.0.1";
13+
pyproject = true;
14+
15+
src = fetchPypi {
16+
inherit pname version;
17+
hash = "sha256-UP9nHLHGYNZm5eXHfNufDYhd9pPvrmp3HcVUFAjcAZw=";
18+
};
19+
20+
build-system = [
21+
hatchling
22+
];
23+
24+
dependencies = [
25+
mpire
26+
tqdm
27+
];
28+
29+
pythonImportsCheck = [
30+
"semchunk"
31+
];
32+
33+
meta = {
34+
description = "A fast, lightweight and easy-to-use Python library for splitting text into semantically meaningful chunks";
35+
homepage = "https://pypi.org/project/semchunk/";
36+
license = lib.licenses.mit;
37+
maintainers = with lib.maintainers; [ booxter ];
38+
};
39+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14765,6 +14765,8 @@ self: super: with self; {
1476514765

1476614766
semantic-version = callPackage ../development/python-modules/semantic-version { };
1476714767

14768+
semchunk = callPackage ../development/python-modules/semchunk { };
14769+
1476814770
semgrep = callPackage ../development/python-modules/semgrep {
1476914771
semgrep-core = callPackage ../development/python-modules/semgrep/semgrep-core.nix { };
1477014772
};

0 commit comments

Comments
 (0)