depot/third_party/nixpkgs/pkgs/development/tools/gocover-cobertura/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
699 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gocover-cobertura";
version = "1.2.0";
src = fetchFromGitHub {
owner = "boumenot";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nbwqfObU1tod5gWa9UbhmS6CpLLilvFyvNJ6XjeR8Qc=";
};
vendorHash = null;
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; [ hmajid2301 ];
};
}