blob: bc21fdb74bf7aeffd0b1b15fe713ba314ec2825f (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "junit2html";
version = "30.1.3";
pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; {
description = "Generate HTML reports from Junit results";
homepage = "https://gitlab.com/inorton/junit2html";
license = licenses.mit;
maintainers = with maintainers; [ otavio ];
mainProgram = "junit2html";
};
}
|