diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix b/nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix new file mode 100644 index 000000000000..688d394198f4 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix @@ -0,0 +1,26 @@ +{ buildPythonPackage +, fetchPypi +, ply +, stdenv +}: + +buildPythonPackage rec { + pname = "CppHeaderParser"; + version = "2.7.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI="; + }; + + propagatedBuildInputs = [ ply ]; + + pythonImportsCheck = [ "CppHeaderParser" ]; + + meta = with stdenv.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 ]; + }; +} |