66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
25 lines
No EOL
720 B
Nix
25 lines
No EOL
720 B
Nix
{ stdenv, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gotestsum";
|
|
version = "0.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gotestyourself";
|
|
repo = "gotestsum";
|
|
rev = "v${version}";
|
|
sha256 = "0zifha3mj7386q2accrdmd8qniingadxz1v8vg4mciwi723msr44";
|
|
};
|
|
|
|
vendorSha256 = "0d45i8wm35m2cdbk48razkdr49a3hfwnp84inlz7hj054cq6vimi";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/gotestyourself/gotestsum";
|
|
description = "A human friendly `go test` runner";
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ endocrimes ];
|
|
};
|
|
} |