blob: 11d0c02dfc84bb641f068e29b75d40820efcfe0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ pkgs, lib, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
buildPythonPackage rec {
pname = "SoMaJo";
version = "2.1.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "tsproisl";
repo = pname;
rev = "v${version}";
sha256 = "1c4g8nhlcc348w0axdswv69q8k3qxwbnvim1yf7vagd0adv83gsj";
};
propagatedBuildInputs = [ regex ];
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; [ danieldk ];
};
}
|