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