blob: d4f179db32567d4b8cefe8870ff1b50cd8fb83f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
buildPythonPackage,
fetchPypi,
jinja2,
setuptools,
}:
buildPythonPackage rec {
pname = "junit2html";
version = "30.1.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-1q6KpKdrZvp8XvxGCkoorlZDDgvGg/imTX8+NEOBbWs=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ jinja2 ];
# Tests are not shipped with PyPi and source is not tagged
doCheck = false;
pythonImportsCheck = [ "junit2htmlreport" ];
meta = {
description = "Generate HTML reports from Junit results";
homepage = "https://gitlab.com/inorton/junit2html";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ otavio ];
mainProgram = "junit2html";
};
}
|