about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/gocover-cobertura/default.nix
blob: 78f69d3b260d167f02b854975ad079fa861494d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}