depot/third_party/nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
668 B
Nix

{
buildPythonPackage,
fetchPypi,
ply,
lib,
}:
buildPythonPackage rec {
pname = "cppheaderparser";
version = "2.7.4";
src = fetchPypi {
pname = "CppHeaderParser";
inherit version;
hash = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
};
propagatedBuildInputs = [ ply ];
pythonImportsCheck = [ "CppHeaderParser" ];
meta = with lib; {
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 ];
};
}