depot/third_party/nixpkgs/pkgs/development/python-modules/razdel/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

28 lines
664 B
Nix

{ 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 ];
pytestFlagsArray = [ "razdel" ];
pythonImportsCheck = [ "razdel" ];
meta = with lib; {
description = "Rule-based system for Russian sentence and word tokenization";
mainProgram = "razdel-ctl";
homepage = "https://github.com/natasha/razdel";
license = licenses.mit;
maintainers = with maintainers; [ npatsakula ];
};
}