10 buildPythonPackage rec {
15 disabled = pythonOlder "3.9";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-OhmTD83p/4tCMoCXy35/0fy8Tw1usn27dJyzpOeGlkU=";
26 build-system = [ setuptools-scm ];
28 nativeCheckInputs = [ pytestCheckHook ];
30 pythonImportsCheck = [ "pygmars" ];
33 description = "Python lexing and parsing library";
34 homepage = "https://github.com/nexB/pygmars";
35 changelog = "https://github.com/aboutcode-org/pygmars/blob/v${version}/CHANGELOG.rst";
36 license = with licenses; [ asl20 ];
37 maintainers = with maintainers; [ fab ];