nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 744 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 pytestCheckHook, 7 regex, 8}: 9 10buildPythonPackage rec { 11 pname = "sentence-splitter"; 12 version = "1.4"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "mediacloud"; 17 repo = "sentence-splitter"; 18 rev = version; 19 hash = "sha256-FxRi8fhKB9++lCTFpCAug0fxjkSVTKChLY84vkshR34="; 20 }; 21 22 propagatedBuildInputs = [ regex ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "sentence_splitter" ]; 27 28 meta = { 29 description = "Text to sentence splitter using heuristic algorithm by Philipp Koehn and Josh Schroeder"; 30 homepage = "https://github.com/mediacloud/sentence-splitter"; 31 license = lib.licenses.lgpl3Plus; 32 maintainers = [ ]; 33 }; 34}