python3Packages.pycparser: add python >= 3.8 check

This commit is contained in:
Sigmanificient
2024-05-07 03:54:57 +02:00
parent f969f5fa62
commit afbee830e0
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook, pythonOlder }:
buildPythonPackage rec {
pname = "pycparser";
@@ -11,6 +11,7 @@ buildPythonPackage rec {
};
nativeCheckInputs = [ unittestCheckHook ];
disabled = pythonOlder "3.8";
unittestFlagsArray = [ "-s" "tests" ];