mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
27 lines
664 B
Nix
27 lines
664 B
Nix
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "SoMaJo";
|
|
version = "2.1.4";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tsproisl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0clcndij4nd5ig7padvb9dj5hfxg6nymn9sf42bjr9ipjihcsbdq";
|
|
};
|
|
|
|
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; [ danieldk ];
|
|
};
|
|
}
|