python3Packages.preggy: pin to pytest 8.3, modernize
This commit is contained in:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user