2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2019-08-31 08:09:32 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gotestsum";
|
2022-08-19 12:48:29 +00:00
|
|
|
version = "1.8.2";
|
2019-08-31 08:09:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gotestyourself";
|
|
|
|
repo = "gotestsum";
|
|
|
|
rev = "v${version}";
|
2022-08-19 12:48:29 +00:00
|
|
|
sha256 = "sha256-BpT5FxqDOLnlWtOHMqwruR/CkD46xEgU7D8sAzsVO14=";
|
2019-08-31 08:09:32 +00:00
|
|
|
};
|
|
|
|
|
2022-08-19 12:48:29 +00:00
|
|
|
vendorSha256 = "sha256-zUqa6xlDV12ZV4N6+EZ7fLPsL8U+GB7boQ0qG9egvm0=";
|
2020-03-18 06:42:23 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-24 23:49:06 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X gotest.tools/gotestsum/cmd.version=${version}" ];
|
2019-08-31 08:09:32 +00:00
|
|
|
|
2020-09-05 04:20:00 +00:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-31 08:09:32 +00: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 03:58:04 +00:00
|
|
|
}
|