blob: a447b1c4fbae145c31659c022a189c28ae8c3388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
buildPythonPackage,
fetchPypi,
pytest7CheckHook,
}:
buildPythonPackage rec {
pname = "razdel";
version = "0.5.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-QzTA/f401OiIzw7YVJaMnfFPClR9+Qmnf0Y0+f/mJuY=";
};
nativeCheckInputs = [ pytest7CheckHook ];
enabledTestPaths = [ "razdel" ];
pythonImportsCheck = [ "razdel" ];
meta = {
description = "Rule-based system for Russian sentence and word tokenization";
mainProgram = "razdel-ctl";
homepage = "https://github.com/natasha/razdel";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ npatsakula ];
};
}
|