mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
629 B
Nix
28 lines
629 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "razdel";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QzTA/f401OiIzw7YVJaMnfFPClR9+Qmnf0Y0+f/mJuY=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
pytestFlagsArray = [ "razdel" ];
|
|
pythonImportCheck = [ "razdel" ];
|
|
|
|
meta = with lib; {
|
|
description = "Rule-based system for Russian sentence and word tokenization";
|
|
homepage = "https://github.com/natasha/razdel";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ npatsakula ];
|
|
};
|
|
}
|