3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
37 lines
788 B
Nix
37 lines
788 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, lxml
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "unittest-xml-reporting";
|
|
version = "3.2.0";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xmlrunner";
|
|
repo = "unittest-xml-reporting";
|
|
rev = version;
|
|
sha256 = "sha256-lOJ/+8CVJUXdIaZLLF5PpPkG0DzlNgo46kRZ1Xy7Ju0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
lxml
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "xmlrunner" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/xmlrunner/unittest-xml-reporting";
|
|
description = "unittest-based test runner with Ant/JUnit like XML reporting";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ rprospero SuperSandro2000 ];
|
|
};
|
|
}
|