If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
30 lines
693 B
Nix
30 lines
693 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 = 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 ];
|
|
};
|
|
}
|