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