depot/third_party/nixpkgs/pkgs/development/python-modules/junitparser/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

33 lines
684 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, glibcLocales
, lxml
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "junitparser";
version = "2.8.0";
src = fetchFromGitHub {
owner = "weiwei";
repo = pname;
rev = version;
hash = "sha256-rhDP05GSWT4K6Z2ip8C9+e3WbvBJOwP0vctvANBs7cw=";
};
propagatedBuildInputs = [ future ];
checkInputs = [ unittestCheckHook lxml glibcLocales ];
unittestFlagsArray = [ "-v" ];
meta = with lib; {
description = "Manipulates JUnit/xUnit Result XML files";
license = licenses.asl20;
homepage = "https://github.com/weiwei/junitparser";
maintainers = with maintainers; [ multun ];
};
}