mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
33 lines
792 B
Nix
33 lines
792 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gcov2lcov";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jandelgado";
|
|
repo = "gcov2lcov";
|
|
rev = "v${version}";
|
|
hash = "sha256-ifXpT5jGNaStqvzP5Rq6Hf6PFhpiKMRC+eSYOZfzt+s=";
|
|
};
|
|
|
|
vendorHash = "sha256-/2OIBWXbNch6lmw0C1jkyJfNefJXOVG9/jNW8CYHTsc=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
# Some checks depend on looking up vcs root
|
|
checkPhase = false;
|
|
|
|
meta = with lib; {
|
|
description = "Convert go coverage files to lcov format";
|
|
mainProgram = "gcov2lcov";
|
|
homepage = "https://github.com/jandelgado/gcov2lcov";
|
|
changelog = "https://github.com/jandelgado/gcov2lcov/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ meain ];
|
|
};
|
|
}
|