python3Packages.somajo: init at 2.0.4
This commit is contained in:
parent
61b61ed087
commit
e539eb93f8
23
pkgs/development/python-modules/somajo/default.nix
Normal file
23
pkgs/development/python-modules/somajo/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ pkgs, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "SoMaJo";
|
||||
version = "2.0.4";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsproisl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "126jaslg8cfap2is3sy3v13xpl9drb80yc5lfsm1nw5s2xcxklqw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ regex ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tokenizer and sentence splitter for German and English web texts";
|
||||
homepage = "https://github.com/tsproisl/SoMaJo";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ danieldk ];
|
||||
};
|
||||
}
|
@ -6938,6 +6938,8 @@ in {
|
||||
|
||||
yahooweather = callPackage ../development/python-modules/yahooweather { };
|
||||
|
||||
somajo = callPackage ../development/python-modules/somajo { };
|
||||
|
||||
spacy = callPackage ../development/python-modules/spacy { };
|
||||
|
||||
spacy_models = callPackage ../development/python-modules/spacy/models.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user