blob: 69617bc2bafc8ad5d7fa942859561e00f3ac97cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
wheel,
}:
buildPythonPackage rec {
pname = "wordninja";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-GhzH7BRq0Z1vcZQe6CrvPTEiFwDw2L+EQTbPjfedKBo=";
};
build-system = [
setuptools
setuptools-scm
wheel
];
pythonImportsCheck = [ "wordninja" ];
meta = {
description = "Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies";
homepage = "https://github.com/keredson/wordninja";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
};
}
|