at master 845 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 mpire, 7 tqdm, 8}: 9 10buildPythonPackage rec { 11 pname = "semchunk"; 12 version = "3.2.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "isaacus-dev"; 17 repo = "semchunk"; 18 tag = "v${version}"; 19 hash = "sha256-bZe5QOFYY0LUUhv2T8B5xuzpCQ0XHtgS3ef12ZhxKvw="; 20 }; 21 22 build-system = [ 23 hatchling 24 ]; 25 26 dependencies = [ 27 mpire 28 tqdm 29 ]; 30 31 pythonImportsCheck = [ 32 "semchunk" 33 ]; 34 35 meta = { 36 description = "Fast, lightweight and easy-to-use Python library for splitting text into semantically meaningful chunks"; 37 changelog = "https://github.com/isaacus-dev/semchunk/releases/tag/v${version}"; 38 homepage = "https://github.com/isaacus-dev/semchunk"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ booxter ]; 41 }; 42}