Merge pull request #171266 from aaronjheng/go-junit-report

go-junit-report: 2018-06-14 -> 1.0.0
main
Bobby Rong 2 years ago committed by GitHub
commit 66e5f0752b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      pkgs/development/tools/go-junit-report/default.nix

@ -1,23 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-junit-report-unstable";
version = "2018-06-14";
rev = "385fac0ced9acaae6dc5b39144194008ded00697";
goPackagePath = "github.com/jstemmer/go-junit-report";
buildGoModule rec {
pname = "go-junit-report";
version = "1.0.0";
src = fetchFromGitHub {
inherit rev;
owner = "jstemmer";
repo = "go-junit-report";
sha256 = "109zs8wpdmc2ijc2khyqija8imay88ka6v50xvrpnnwnd3ywckxi";
rev = "v${version}";
sha256 = "sha256-/ER99EmYrERBjcJeYeV3GBq6lDjACM0loICg41hUuPQ=";
};
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Converts go test output to an xml report, suitable for applications that expect junit xml reports (e.g. Jenkins)";
homepage = "https://${goPackagePath}";
description = "Convert go test output to junit xml";
homepage = "https://github.com/jstemmer/go-junit-report";
license = licenses.mit;
maintainers = with maintainers; [ cryptix ];
license = licenses.mit;
};
}

Loading…
Cancel
Save