blob: 74581ba7e33c28a0751608cc49a8e56e3d2ff1a9 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyphen";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8";
};
preCheck = ''
sed -i '/addopts/d' pyproject.toml
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Pure Python module to hyphenate text";
homepage = "https://github.com/Kozea/Pyphen";
license = with licenses; [gpl2 lgpl21 mpl20];
maintainers = with maintainers; [ rvl ];
};
}
|