python3Packages.preggy: pin to pytest 8.3, modernize

This commit is contained in:
Martin Weinelt
2025-08-09 19:05:27 +02:00
parent d0c3178b71
commit 18c8cae95f
@@ -2,27 +2,30 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
six,
unidecode,
pytestCheckHook,
pytest8_3CheckHook,
}:
buildPythonPackage rec {
pname = "preggy";
version = "1.4.4";
format = "setuptools";
propagatedBuildInputs = [
six
unidecode
];
nativeCheckInputs = [ pytestCheckHook ];
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
};
build-system = [ setuptools ];
dependencies = [
six
unidecode
];
nativeCheckInputs = [ pytest8_3CheckHook ];
meta = with lib; {
description = "Assertion library for Python";
homepage = "http://heynemann.github.io/preggy/";