2020-09-30 16:19:38 -07:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
ply,
|
2021-01-25 09:26:54 +01:00
|
|
|
lib,
|
2020-09-30 16:19:38 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-03-14 23:31:42 +01:00
|
|
|
pname = "cppheaderparser";
|
2020-09-30 16:19:38 -07:00
|
|
|
version = "2.7.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-03-14 23:31:42 +01:00
|
|
|
pname = "CppHeaderParser";
|
|
|
|
inherit version;
|
2023-03-03 01:48:06 +01:00
|
|
|
hash = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
|
2020-09-30 16:19:38 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ply ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "CppHeaderParser" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-09-30 16:19:38 -07:00
|
|
|
description = "Parse C++ header files using ply.lex to generate navigable class tree representing the class structure";
|
|
|
|
homepage = "https://sourceforge.net/projects/cppheaderparser/";
|
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ pamplemousse ];
|
|
|
|
};
|
|
|
|
}
|