Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, castxml 3, fetchFromGitHub 4, buildPythonPackage 5, llvmPackages 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pygccxml"; 11 version = "2.3.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "gccxml"; 18 repo = "pygccxml"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-+cmp41iWbkUSLNFLvEPHocpTQAX2CpD8HMXLIYcy+8k="; 21 }; 22 23 buildInputs = [ 24 castxml 25 llvmPackages.libcxxStdenv 26 ]; 27 28 # running the suite is hard, needs to generate xml_generator.cfg 29 # but the format doesn't accept -isystem directives 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Python package for easy C++ declarations navigation"; 34 homepage = "https://github.com/gccxml/pygccxml"; 35 changelog = "https://github.com/CastXML/pygccxml/blob/v${version}/CHANGELOG.md"; 36 license = licenses.boost; 37 maintainers = with maintainers; [ teto ]; 38 }; 39}