2022-05-02 16:58:30 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-10-13 14:46:39 +02:00
|
|
|
|
2022-05-02 16:58:30 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-junit-report";
|
2022-07-28 15:06:31 +02:00
|
|
|
version = "2.0.0";
|
2018-10-13 14:46:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jstemmer";
|
|
|
|
repo = "go-junit-report";
|
2022-05-02 16:58:30 +02:00
|
|
|
rev = "v${version}";
|
2022-07-28 15:06:31 +02:00
|
|
|
sha256 = "sha256-Xz2tJtacsd6PqqA0ZT2eRgTACZonhdDtRWfBGcHW3A4=";
|
2018-10-13 14:46:39 +02:00
|
|
|
};
|
|
|
|
|
2022-07-28 15:06:31 +02:00
|
|
|
vendorSha256 = "sha256-+KmC7m6xdkWTT/8MkGaW9gqkzeZ6LWL0DXbt+12iTHY=";
|
2022-05-02 16:58:30 +02:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2022-05-02 16:58:30 +02:00
|
|
|
description = "Convert go test output to junit xml";
|
|
|
|
homepage = "https://github.com/jstemmer/go-junit-report";
|
|
|
|
license = licenses.mit;
|
2018-10-13 14:46:39 +02:00
|
|
|
maintainers = with maintainers; [ cryptix ];
|
|
|
|
};
|
|
|
|
}
|