2021-08-26 21:32:42 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2017-09-15 06:33:53 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-08-26 21:32:42 +02:00
|
|
|
pname = "pyphen";
|
|
|
|
version = "0.11.0";
|
2017-09-15 06:33:53 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 21:32:42 +02:00
|
|
|
sha256 = "e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8";
|
2017-09-15 06:33:53 +01:00
|
|
|
};
|
|
|
|
|
2021-08-26 21:32:42 +02:00
|
|
|
preCheck = ''
|
|
|
|
sed -i '/addopts/d' pyproject.toml
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-09-15 06:33:53 +01:00
|
|
|
description = "Pure Python module to hyphenate text";
|
|
|
|
homepage = "https://github.com/Kozea/Pyphen";
|
|
|
|
license = with licenses; [gpl2 lgpl21 mpl20];
|
|
|
|
maintainers = with maintainers; [ rvl ];
|
|
|
|
};
|
|
|
|
}
|