1{ lib, castxml, fetchFromGitHub, buildPythonPackage,
2llvmPackages }:
3buildPythonPackage rec {
4 pname = "pygccxml";
5 version = "2.2.1";
6
7 src = fetchFromGitHub {
8 owner = "gccxml";
9 repo = "pygccxml";
10 rev = "v${version}";
11 sha256 = "1msqpg3dqn7wjlf91ddljxzz01a3b1p2sy91n36lrsy87lz499gh";
12 };
13
14 buildInputs = [ castxml llvmPackages.libcxxStdenv];
15
16 # running the suite is hard, needs to generate xml_generator.cfg
17 # but the format doesn't accept -isystem directives
18 doCheck = false;
19
20 meta = with lib; {
21 homepage = "https://github.com/gccxml/pygccxml";
22 description = "Python package for easy C++ declarations navigation";
23 license = licenses.boost;
24 maintainers = with maintainers; [ teto ];
25 };
26}