forked from mirrors/nixpkgs
Merge pull request #48318 from cryptix/add/go-junit-report
go-junit-report: init at 2018-06-14 (385fac0ce9a)
This commit is contained in:
commit
0e416d7e6b
24
pkgs/development/tools/go-junit-report/default.nix
Normal file
24
pkgs/development/tools/go-junit-report/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "go-junit-report-unstable-${version}";
|
||||
version = "2018-06-14";
|
||||
rev = "385fac0ced9acaae6dc5b39144194008ded00697";
|
||||
|
||||
goPackagePath = "github.com/jstemmer/go-junit-report";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "jstemmer";
|
||||
repo = "go-junit-report";
|
||||
sha256 = "109zs8wpdmc2ijc2khyqija8imay88ka6v50xvrpnnwnd3ywckxi";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Converts go test output to an xml report, suitable for applications that expect junit xml reports (e.g. Jenkins)";
|
||||
homepage = "https://${goPackagePath}";
|
||||
maintainers = with maintainers; [ cryptix ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -6935,6 +6935,8 @@ with pkgs;
|
|||
|
||||
go-repo-root = callPackage ../development/tools/go-repo-root { };
|
||||
|
||||
go-junit-report = callPackage ../development/tools/go-junit-report { };
|
||||
|
||||
gox = callPackage ../development/tools/gox { };
|
||||
|
||||
gprolog = callPackage ../development/compilers/gprolog { };
|
||||
|
|
Loading…
Reference in a new issue