36 lines
692 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
glibcLocales,
lxml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "junitparser";
version = "3.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "weiwei";
repo = "junitparser";
rev = version;
hash = "sha256-efP9t5eto6bcjk33wpJmunLlPH7wUwAa6/OjjYG/fgM=";
};
nativeCheckInputs = [
pytestCheckHook
lxml
glibcLocales
];
meta = with lib; {
description = "Manipulates JUnit/xUnit Result XML files";
mainProgram = "junitparser";
license = licenses.asl20;
homepage = "https://github.com/weiwei/junitparser";
maintainers = with maintainers; [ multun ];
};
}