{ lib, castxml, fetchFromGitHub, buildPythonPackage, llvmPackages, setuptools, }: buildPythonPackage rec { pname = "pygccxml"; version = "3.0.2"; pyproject = true; src = fetchFromGitHub { owner = "gccxml"; repo = "pygccxml"; tag = "v${version}"; hash = "sha256-pIo25/tKiXpyiWUkpILPDPTNWIUEGK4uRSTpvoGwS1Q="; }; nativeBuildInputs = [ setuptools ]; buildInputs = [ castxml llvmPackages.libcxxStdenv ]; # running the suite is hard, needs to generate xml_generator.cfg # but the format doesn't accept -isystem directives doCheck = false; meta = { description = "Python package for easy C++ declarations navigation"; homepage = "https://github.com/gccxml/pygccxml"; changelog = "https://github.com/CastXML/pygccxml/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.boost; maintainers = with lib.maintainers; [ teto ]; }; }