at master 960 B view raw
1{ 2 lib, 3 castxml, 4 fetchFromGitHub, 5 buildPythonPackage, 6 llvmPackages, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pygccxml"; 13 version = "3.0.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "gccxml"; 20 repo = "pygccxml"; 21 tag = "v${version}"; 22 hash = "sha256-pIo25/tKiXpyiWUkpILPDPTNWIUEGK4uRSTpvoGwS1Q="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 buildInputs = [ 28 castxml 29 llvmPackages.libcxxStdenv 30 ]; 31 32 # running the suite is hard, needs to generate xml_generator.cfg 33 # but the format doesn't accept -isystem directives 34 doCheck = false; 35 36 meta = with lib; { 37 description = "Python package for easy C++ declarations navigation"; 38 homepage = "https://github.com/gccxml/pygccxml"; 39 changelog = "https://github.com/CastXML/pygccxml/blob/${src.tag}/CHANGELOG.md"; 40 license = licenses.boost; 41 maintainers = with maintainers; [ teto ]; 42 }; 43}