Merge pull request #317820 from hatch01/hpp2plantuml

hpp2plantuml: init at 0.8.5
This commit is contained in:
Aleksana 2024-06-29 12:30:48 +08:00 committed by GitHub
commit 61dcf25a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,33 @@
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "hpp2plantuml";
version = "0.8.5";
format = "wheel";
src = fetchPypi {
inherit pname version format;
hash = "sha256-PfTJmBypI21AAK3sMojygQfrhnRqcMmVCW4dxGfDfQg=";
};
propagatedBuildInputs = with python3Packages; [
jinja2
cppheaderparser
];
pythonImportsCheck = [ "hpp2plantuml" ];
nativeCheckInputs = with python3Packages; [ pytest ];
meta = {
description = "Convert C++ header files to PlantUML";
homepage = "https://github.com/thibaultmarin/hpp2plantuml";
license = lib.licenses.mit;
mainProgram = "hpp2plantuml";
maintainers = with lib.maintainers; [ eymeric ];
};
}