1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-03 22:32:26 +03:00
nixpkgs/pkgs/development/python-modules/unittest-xml-reporting/default.nix

38 lines
788 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildPythonPackage
, lxml
, pythonOlder
, pytestCheckHook
}:
2018-03-22 17:44:27 +00:00
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=";
};
2018-03-22 17:44:27 +00:00
propagatedBuildInputs = [
lxml
];
2018-03-22 17:44:27 +00:00
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "xmlrunner" ];
2018-03-22 17:44:27 +00:00
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 ];
2018-03-22 17:44:27 +00:00
};
}