mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
38 lines
879 B
Nix
38 lines
879 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitLab,
|
|
jinja2,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "junit2html";
|
|
version = "31.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "inorton";
|
|
repo = "junit2html";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-GUlRGv4+tRslrvSWvb3Fe5DcMFeYgL7HCyAHzrksJeQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ jinja2 ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "junit2htmlreport" ];
|
|
|
|
meta = {
|
|
description = "Generate HTML reports from Junit results";
|
|
homepage = "https://gitlab.com/inorton/junit2html";
|
|
changelog = "https://gitlab.com/inorton/junit2html/-/releases/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ otavio ];
|
|
mainProgram = "junit2html";
|
|
};
|
|
})
|