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