mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
pythonPackages.junitparser: init at 1.4.1
This commit is contained in:
parent
7440483138
commit
43db1be418
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/junitparser/default.nix
Normal file
31
pkgs/development/python-modules/junitparser/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue