2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-08-31 09:09:32 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gotestsum";
|
2021-01-18 22:58:38 +00:00
|
|
|
version = "1.6.1";
|
2019-08-31 09:09:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gotestyourself";
|
|
|
|
repo = "gotestsum";
|
|
|
|
rev = "v${version}";
|
2021-01-18 22:58:38 +00:00
|
|
|
sha256 = "sha256-eJxrdR3JYqF+GexcwnyHV4xO75stEDNFzxDtky7PVc8=";
|
2019-08-31 09:09:32 +01:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:58:38 +00:00
|
|
|
vendorSha256 = "sha256-VQ3/VkxoYtY71xJQj6/XAoIEH4jr4Rq4hFqFnwxzkSU=";
|
2020-03-18 06:42:23 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-18 06:42:23 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
2019-08-31 09:09:32 +01:00
|
|
|
|
2020-09-05 05:20:00 +01:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-31 09:09:32 +01:00
|
|
|
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 ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|