3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/somajo/default.nix

24 lines
619 B
Nix
Raw Normal View History

2020-02-28 10:30:50 +00:00
{ pkgs, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
buildPythonPackage rec {
pname = "SoMaJo";
version = "2.1.1";
2020-02-28 10:30:50 +00:00
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "tsproisl";
repo = pname;
rev = "v${version}";
sha256 = "0yj3yb0qvfdv4wh7nzcsh9in8nzk7b59dvjj0x02rsmlv4kw9ah1";
2020-02-28 10:30:50 +00:00
};
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 ];
};
}