summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cppheaderparser/default.nix
blob: 13842e83a8d5fb3ab2ceaee069462e2036a9d9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  buildPythonPackage,
  fetchPypi,
  ply,
  lib,
}:

buildPythonPackage rec {
  pname = "cppheaderparser";
  version = "2.7.4";
  format = "setuptools";

  src = fetchPypi {
    pname = "CppHeaderParser";
    inherit version;
    hash = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
  };

  propagatedBuildInputs = [ ply ];

  pythonImportsCheck = [ "CppHeaderParser" ];

  meta = {
    description = "Parse C++ header files using ply.lex to generate navigable class tree representing the class structure";
    homepage = "https://sourceforge.net/projects/cppheaderparser/";
    license = lib.licenses.bsdOriginal;
    maintainers = with lib.maintainers; [ pamplemousse ];
  };
}