2020-10-01 00:19:38 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ply
|
2021-01-11 07:54:33 +00:00
|
|
|
, lib, stdenv
|
2020-10-01 00:19:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "CppHeaderParser";
|
|
|
|
version = "2.7.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ply ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "CppHeaderParser" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-01 00:19:38 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|