python3Packages.Pyphen: 0.10.0 -> 0.11.0

This commit is contained in:
Martin Weinelt 2021-08-26 21:32:42 +02:00
parent d07a1995d8
commit ffac9d2fde

View File

@ -1,14 +1,26 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "Pyphen";
version = "0.10.0";
pname = "pyphen";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "719b21dfb4b04fbc11cc0f6112418535fe35474021120cccfffc43a25fe63128";
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";