mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
34 lines
731 B
Nix
34 lines
731 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|