2021-02-05 17:12:51 +00:00
|
|
|
{ lib, castxml, fetchFromGitHub, buildPythonPackage,
|
2020-04-24 23:36:52 +00:00
|
|
|
llvmPackages }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygccxml";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gccxml";
|
|
|
|
repo = "pygccxml";
|
|
|
|
rev = "v${version}";
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "1vsxnfzz6qhiv8ac98qgk6w3s4j1jp661qy48gc9plcg2r952453";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ castxml llvmPackages.libcxxStdenv];
|
|
|
|
|
|
|
|
# running the suite is hard, needs to generate xml_generator.cfg
|
|
|
|
# but the format doesn't accept -isystem directives
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/gccxml/pygccxml";
|
|
|
|
description = "Python package for easy C++ declarations navigation";
|
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|