1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, future 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "junitparser"; 10 version = "1.4.1"; 11 12 src = fetchFromGitHub { 13 owner = "gastlygem"; 14 repo = pname; 15 rev = version; 16 sha256 = "16xwayr0rbp7xdg7bzmyf8s7al0dhkbmkcnil66ax7r8bznp5lmp"; 17 }; 18 19 propagatedBuildInputs = [ future ]; 20 21 checkPhase = '' 22 ${python.interpreter} test.py 23 ''; 24 25 meta = with lib; { 26 description = "A JUnit/xUnit Result XML Parser"; 27 license = licenses.asl20; 28 homepage = "https://github.com/gastlygem/junitparser"; 29 maintainers = with maintainers; [ multun ]; 30 }; 31}