nixpkgs/pkgs/development/tools/go-junit-report/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
617 B
Nix
Raw Normal View History

2022-05-02 14:58:30 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2022-05-02 14:58:30 +00:00
buildGoModule rec {
pname = "go-junit-report";
version = "1.0.0";
src = fetchFromGitHub {
owner = "jstemmer";
repo = "go-junit-report";
2022-05-02 14:58:30 +00:00
rev = "v${version}";
sha256 = "sha256-/ER99EmYrERBjcJeYeV3GBq6lDjACM0loICg41hUuPQ=";
};
2022-05-02 14:58:30 +00:00
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
2022-05-02 14:58:30 +00:00
description = "Convert go test output to junit xml";
homepage = "https://github.com/jstemmer/go-junit-report";
license = licenses.mit;
maintainers = with maintainers; [ cryptix ];
};
}