Merge pull request #294331 from ViZiD/tinysegmenter
python3Packages.tinysegmenter: init at 0.3
This commit is contained in:
commit
0216d40cb4
38
pkgs/development/python-modules/tinysegmenter/default.nix
Normal file
38
pkgs/development/python-modules/tinysegmenter/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
, unittestCheckHook
|
||||
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tinysegmenter";
|
||||
version = "0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ZEWL26VLp0gsAseF+WDPPWz2FZSk2rPWTDJUOQlPwbc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
unittestFlagsArray = [ "-s" "tests" ];
|
||||
|
||||
pythonImportsCheck = [ "tinysegmenter" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Very compact Japanese tokenizer";
|
||||
homepage = "https://tinysegmenter.tuxfamily.org";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ vizid ];
|
||||
};
|
||||
}
|
@ -14755,6 +14755,8 @@ self: super: with self; {
|
||||
|
||||
tinyrecord = callPackage ../development/python-modules/tinyrecord { };
|
||||
|
||||
tinysegmenter = callPackage ../development/python-modules/tinysegmenter { };
|
||||
|
||||
tissue = callPackage ../development/python-modules/tissue { };
|
||||
|
||||
titlecase = callPackage ../development/python-modules/titlecase { };
|
||||
|
Loading…
Reference in New Issue
Block a user