depot/third_party/nixpkgs/pkgs/development/python-modules/unittest-xml-reporting/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

37 lines
794 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
];
nativeCheckInputs = [
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 ];
};
}