11 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
20 sha256 = "1gzr56w8yx82mn08wax5m0xyg15ym4ri5l80gmagp8r53443j770";
23 propagatedBuildInputs = [ click six tqdm joblib ];
25 nativeCheckInputs = [ pytest ];
26 # ignore tests which call to remote host
28 pytest -k 'not truecase'
32 homepage = "https://github.com/alvations/sacremoses";
33 description = "Python port of Moses tokenizer, truecaser and normalizer";
34 mainProgram = "sacremoses";
35 license = licenses.lgpl21Plus;
36 platforms = platforms.unix;
37 maintainers = with maintainers; [ pashashocky ];