mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
Merge pull request #264245 from hmajid2301/go-cover
This commit is contained in:
commit
77ff543e99
27
pkgs/development/tools/gocover-cobertura/default.nix
Normal file
27
pkgs/development/tools/gocover-cobertura/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -16295,6 +16295,8 @@ with pkgs;
|
||||
|
||||
go-junit-report = callPackage ../development/tools/go-junit-report { };
|
||||
|
||||
gocover-cobertura = callPackage ../development/tools/gocover-cobertura { };
|
||||
|
||||
gobang = callPackage ../development/tools/database/gobang {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user