2019-08-31 09:09:32 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gotestsum";
|
2020-06-26 10:51:36 +01:00
|
|
|
version = "0.5.1";
|
2019-08-31 09:09:32 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gotestyourself";
|
|
|
|
repo = "gotestsum";
|
|
|
|
rev = "v${version}";
|
2020-06-26 10:51:36 +01:00
|
|
|
sha256 = "079cyk12r662z8njaawdqfjab1giy5xkjhln2rns03j5n67ixhgj";
|
2019-08-31 09:09:32 +01:00
|
|
|
};
|
|
|
|
|
2020-06-26 10:51:36 +01:00
|
|
|
vendorSha256 = "1injixhllv41glb3yz276gjrkiwwkfimrhb367d2pvjpzqmhplan";
|
2020-03-18 06:42:23 +00:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
2019-08-31 09:09:32 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|