depot/third_party/nixpkgs/pkgs/development/python-modules/junitparser/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
618 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, python
}:
buildPythonPackage rec {
pname = "junitparser";
version = "1.4.1";
src = fetchFromGitHub {
owner = "gastlygem";
repo = pname;
rev = version;
sha256 = "16xwayr0rbp7xdg7bzmyf8s7al0dhkbmkcnil66ax7r8bznp5lmp";
};
propagatedBuildInputs = [ future ];
checkPhase = ''
${python.interpreter} test.py
'';
meta = with lib; {
description = "A JUnit/xUnit Result XML Parser";
license = licenses.asl20;
homepage = "https://github.com/gastlygem/junitparser";
maintainers = with maintainers; [ multun ];
};
}