1{ stdenv, castxml, fetchFromGitHub, buildPythonPackage,
2llvmPackages }:
3buildPythonPackage rec {
4 pname = "pygccxml";
5 version = "1.9.1";
6
7 src = fetchFromGitHub {
8 owner = "gccxml";
9 repo = "pygccxml";
10 rev = "v${version}";
11 sha256 = "02ip03s0vmp7czzflbvf7qnybibfrd0rzqbc5zfmq3zmpnck3hvm";
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 stdenv.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}