3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
26 lines
655 B
Nix
26 lines
655 B
Nix
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "SoMaJo";
|
|
version = "2.1.6";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tsproisl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1q88x05729qdnl1gbahisjk3s97wha0b5dj3n63kq2qyvyy0929s";
|
|
};
|
|
|
|
propagatedBuildInputs = [ regex ];
|
|
|
|
# loops forever
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
meta = with lib; {
|
|
description = "Tokenizer and sentence splitter for German and English web texts";
|
|
homepage = "https://github.com/tsproisl/SoMaJo";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|