9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.6";
16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-PiH1lV1Vt9VTSOB+jep8FHIdk8qnauxj4nP3CIi/m7o=";
23 SETUPTOOLS_SCM_PRETEND_VERSION = version;
26 # https://github.com/nexB/pygmars/pull/9
27 substituteInPlace setup.cfg \
28 --replace ">=3.6.*" ">=3.6"
41 pythonImportsCheck = [
46 description = "Python lexing and parsing library";
47 homepage = "https://github.com/nexB/pygmars";
48 changelog = "https://github.com/nexB/pygmars/releases/tag/v${version}";
49 license = with licenses; [ asl20 ];
50 maintainers = with maintainers; [ fab ];