diff options
author | Matthieu Coudron <mattator@gmail.com> | 2017-10-19 14:55:01 +0900 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2018-04-05 19:15:58 +0900 |
commit | 604aa24f853d6f7dda7c11f0aab22d01ad03dbc6 (patch) | |
tree | f802f347bb709fa1009cb00915764da493690e51 /pkgs/development/python-modules/pygccxml | |
parent | 37210d4938cd6877208a07363ca72e480f93fe43 (diff) | |
download | nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar.gz nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar.bz2 nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar.lz nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar.xz nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.tar.zst nixlib-604aa24f853d6f7dda7c11f0aab22d01ad03dbc6.zip |
pygccxml: init at 1.9.1
Python library to play with castxml output, aka your program's clang-produced AST.
Diffstat (limited to 'pkgs/development/python-modules/pygccxml')
-rw-r--r-- | pkgs/development/python-modules/pygccxml/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pygccxml/default.nix b/pkgs/development/python-modules/pygccxml/default.nix new file mode 100644 index 000000000000..5271677dc1ea --- /dev/null +++ b/pkgs/development/python-modules/pygccxml/default.nix @@ -0,0 +1,26 @@ +{ stdenv, castxml, fetchFromGitHub, buildPythonPackage, +llvmPackages, clang }: +buildPythonPackage rec { + pname = "pygccxml"; + version = "1.9.1"; + + src = fetchFromGitHub { + owner = "gccxml"; + repo = "pygccxml"; + rev = "v${version}"; + sha256 = "02ip03s0vmp7czzflbvf7qnybibfrd0rzqbc5zfmq3zmpnck3hvm"; + }; + + 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; + + meta = with stdenv.lib; { + homepage = https://github.com/gccxml/pygccxml; + description = "Python package for easy C++ declarations navigation"; + license = licenses.boost; + maintainers = with maintainers; [ teto ]; + }; +} |