biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pysbd / default.nix
blobfcc440fe4c74e56e4d1ec2e0e36c406bc64402da
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   tqdm,
7   spacy,
8 }:
10 buildPythonPackage rec {
11   pname = "pysbd";
12   version = "0.3.4";
13   format = "setuptools";
14   disabled = pythonOlder "3.5";
16   # provides no sdist on pypi
17   src = fetchFromGitHub {
18     owner = "nipunsadvilkar";
19     repo = "pySBD";
20     rev = "v${version}";
21     sha256 = "12p7qm237z56hw4zr03n8rycgfymhki2m9c4w3ib0mvqq122a5dp";
22   };
24   nativeCheckInputs = [
25     tqdm
26     spacy
27   ];
29   doCheck = false; # requires pyconll and blingfire
31   pythonImportsCheck = [ "pysbd" ];
33   meta = with lib; {
34     description = "Pysbd (Python Sentence Boundary Disambiguation) is a rule-based sentence boundary detection that works out-of-the-box across many languages";
35     homepage = "https://github.com/nipunsadvilkar/pySBD";
36     license = licenses.mit;
37     maintainers = teams.tts.members;
38   };