Merge pull request #309703 from Sigmanificient/zhf-pycparser

python3Packages.pycparser: add python >= 3.8 check
This commit is contained in:
Jörg Thalheim 2024-05-07 06:14:38 +02:00 committed by GitHub
commit 9fb582619d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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