blob: cea8f7acfc0a46022030ea7ffb96cc94644a021b (
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
35
|
{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyphen";
version = "0.17.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-9gZHqcmzDsbFmRAJevgrxd0tNldrkY5EFI2LB+87SqM=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyphen" ];
meta = {
description = "Module to hyphenate text";
homepage = "https://github.com/Kozea/Pyphen";
changelog = "https://github.com/Kozea/Pyphen/releases/tag/${version}";
license = with lib.licenses; [
gpl2
lgpl21
mpl20
];
};
}
|