1{
2 buildPythonPackage,
3 fetchPypi,
4 ply,
5 lib,
6}:
7
8buildPythonPackage rec {
9 pname = "cppheaderparser";
10 version = "2.7.4";
11
12 src = fetchPypi {
13 pname = "CppHeaderParser";
14 inherit version;
15 hash = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
16 };
17
18 propagatedBuildInputs = [ ply ];
19
20 pythonImportsCheck = [ "CppHeaderParser" ];
21
22 meta = with lib; {
23 description = "Parse C++ header files using ply.lex to generate navigable class tree representing the class structure";
24 homepage = "https://sourceforge.net/projects/cppheaderparser/";
25 license = licenses.bsdOriginal;
26 maintainers = with maintainers; [ pamplemousse ];
27 };
28}