2019-08-31 10:09:32 +02:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gotestsum";
|
2020-09-05 01:16:41 +02:00
|
|
|
version = "0.5.3";
|
2019-08-31 10:09:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gotestyourself";
|
|
|
|
repo = "gotestsum";
|
|
|
|
rev = "v${version}";
|
2020-09-05 01:16:41 +02:00
|
|
|
sha256 = "1jq529m788yp3b6j4dhxgcw7qm1lyxx1ir2vwr41vp7gh17fmwar";
|
2019-08-31 10:09:32 +02:00
|
|
|
};
|
|
|
|
|
2020-06-26 11:51:36 +02:00
|
|
|
vendorSha256 = "1injixhllv41glb3yz276gjrkiwwkfimrhb367d2pvjpzqmhplan";
|
2020-03-18 07:42:23 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-18 07:42:23 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
2019-08-31 10:09:32 +02:00
|
|
|
|
2020-09-05 06:20:00 +02:00
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2019-08-31 10:09:32 +02: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-07-31 05:58:04 +02:00
|
|
|
}
|