python3Packages.pyhamcrest: modernize

This commit is contained in:
Martin Weinelt
2025-11-25 12:39:09 -08:00
committed by Robert Schütz
parent 604b11e7e0
commit 1dc6e702b6
@@ -7,15 +7,12 @@
numpy,
pytest-xdist,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyhamcrest";
version = "2.1.0";
format = "pyproject";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "hamcrest";
@@ -34,7 +31,7 @@ buildPythonPackage rec {
--replace 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [
build-system = [
hatch-vcs
hatchling
];