Unverified Commit 28246b8b authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #309272 from doronbehar/pkg/go-cover-treemap

go-cover-treemap: init at 1.4.2
parents 79185314 acc50428
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "go-cover-treemap";
  version = "1.4.2";

  src = fetchFromGitHub {
    owner = "nikolaydubina";
    repo = "go-cover-treemap";
    rev = "v${version}";
    hash = "sha256-MSkPot8uYcr8pxsIkJh2FThVK9xpzkN9Y69KeiQnQlA=";
  };

  vendorHash = "sha256-k/k+EGkuBnZFHrcWxnzLG8efWgb2i35Agf/sWbgTc4g=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Go code coverage to SVG treemap";
    homepage = "https://github.com/nikolaydubina/go-cover-treemap";
    license = licenses.mit;
    maintainers = with maintainers; [ doronbehar ];
    mainProgram = "go-cover-treemap";
  };
}