python312Packages.pyphen: 0.16.0 -> 0.17.0 (#352152)

This commit is contained in:
Nick Cao
2024-11-12 12:02:22 -05:00
committed by GitHub

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 ];