depot/third_party/nixpkgs/pkgs/by-name/go/gocover-cobertura/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

29 lines
777 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gocover-cobertura";
version = "1.3.0";
src = fetchFromGitHub {
owner = "boumenot";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Cxv1iuCYHSI0BFR1OLbeDIQfVLlMDxlTgU7ljpXWHjU=";
};
deleteVendor = true;
vendorHash = "sha256-b1fUikmBnc+q0KsRhK9p4VJjVnt6XFjmX9AE48TAxXg=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/boumenot/gocover-cobertura";
description = "This is a simple helper tool for generating XML output in Cobertura format for CIs like Jenkins and others from go tool cover output";
mainProgram = "gocover-cobertura";
license = licenses.mit;
maintainers = with maintainers; [ gabyx hmajid2301 ];
};
}