Skip to content

Commit

Permalink
Merge pull request #309703 from Sigmanificient/zhf-pycparser
Browse files Browse the repository at this point in the history
python3Packages.pycparser: add python >= 3.8 check
  • Loading branch information
Mic92 committed May 7, 2024
2 parents e621740 + afbee83 commit 9fb5826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/pycparser/default.nix
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook, pythonOlder }:

buildPythonPackage rec {
pname = "pycparser";
Expand All @@ -11,6 +11,7 @@ buildPythonPackage rec {
};

nativeCheckInputs = [ unittestCheckHook ];
disabled = pythonOlder "3.8";

unittestFlagsArray = [ "-s" "tests" ];

Expand Down

0 comments on commit 9fb5826

Please sign in to comment.