Files
nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

30 lines
691 B
Nix

{
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 ];
};
}