a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
37 lines
874 B
Nix
37 lines
874 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gotestsum";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gotestyourself";
|
|
repo = "gotestsum";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-22srQmvbVu8eWVAbLDZG93yod/bJS6hfoc/YwFs64pY=";
|
|
};
|
|
|
|
vendorHash = "sha256-zUqa6xlDV12ZV4N6+EZ7fLPsL8U+GB7boQ0qG9egvm0=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X gotest.tools/gotestsum/cmd.version=${version}"
|
|
];
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/gotestyourself/gotestsum";
|
|
changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${version}";
|
|
description = "A human friendly `go test` runner";
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ endocrimes ];
|
|
};
|
|
}
|