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