mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
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>
30 lines
691 B
Nix
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 ];
|
|
};
|
|
}
|