Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 34 lines 670 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytest 6, pytest-sugar 7, isPy38 8}: 9 10buildPythonPackage rec { 11 pname = "junit-xml"; 12 version = "1.8"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "08fw86azza6d3l3nx34kq69cpwmmfqpn7xrb8pdlxmhr1941qbv0"; 17 }; 18 19 propagatedBuildInputs = [ six ]; 20 21 checkInputs = [ pytest pytest-sugar ]; 22 23 checkPhase = '' 24 pytest 25 ''; 26 27 meta = with lib; { 28 description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins"; 29 homepage = https://github.com/kyrus/python-junit-xml; 30 maintainers = with maintainers; [ multun ]; 31 license = licenses.mit; 32 broken = true; 33 }; 34}