python312Packages.pyphen: 0.16.0 -> 0.17.0

This commit is contained in:
R. Ryantm 2024-10-29 17:34:07 +00:00 committed by natsukium
parent 09e2e58692
commit 7652fcf8b9
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -2,28 +2,24 @@
lib,
buildPythonPackage,
fetchPypi,
flit,
flit-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyphen";
version = "0.16.0";
format = "pyproject";
version = "0.17.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-LABrPd8HLJVxq5dgbZqzwmqS6s7UwNWf0dJpiPMI9BM=";
hash = "sha256-HROs0c43o4TXYSlUrmx4AbtMUxbaDiuTeyEnunAqPaQ=";
};
nativeBuildInputs = [ flit ];
preCheck = ''
sed -i '/addopts/d' pyproject.toml
'';
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];