depot/third_party/nixpkgs/pkgs/development/tools/gocover-cobertura/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

27 lines
661 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.";
license = licenses.mit;
maintainers = with maintainers; [ hmajid2301 ];
};
}