12 buildPythonPackage rec {
15 format = "setuptools";
17 src = fetchFromGitHub {
21 sha256 = "1gzr56w8yx82mn08wax5m0xyg15ym4ri5l80gmagp8r53443j770";
24 propagatedBuildInputs = [
31 nativeCheckInputs = [ pytest ];
32 # ignore tests which call to remote host
34 pytest -k 'not truecase'
38 homepage = "https://github.com/alvations/sacremoses";
39 description = "Python port of Moses tokenizer, truecaser and normalizer";
40 mainProgram = "sacremoses";
41 license = licenses.lgpl21Plus;
42 platforms = platforms.unix;
43 maintainers = with maintainers; [ pashashocky ];