1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, future 5, glibcLocales 6, lxml 7, unittestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "junitparser"; 12 version = "2.8.0"; 13 14 src = fetchFromGitHub { 15 owner = "weiwei"; 16 repo = pname; 17 rev = version; 18 hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw="; 19 }; 20 21 propagatedBuildInputs = [ future ]; 22 23 nativeCheckInputs = [ unittestCheckHook lxml glibcLocales ]; 24 25 unittestFlagsArray = [ "-v" ]; 26 27 meta = with lib; { 28 description = "Manipulates JUnit/xUnit Result XML files"; 29 license = licenses.asl20; 30 homepage = "https://github.com/weiwei/junitparser"; 31 maintainers = with maintainers; [ multun ]; 32 }; 33}