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