nixpkgs/pkgs/by-name/go/go-cover-treemap/package.nix
2024-05-05 16:36:55 +03:00

28 lines
665 B
Nix

{ 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";
};
}