2019-11-14 23:44:53 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-08-09 21:04:08 +01:00
|
|
|
|
2019-11-14 23:44:53 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "richgo";
|
2019-11-14 23:44:53 +00:00
|
|
|
version = "0.3.3";
|
2018-08-09 21:04:08 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kyoh86";
|
|
|
|
repo = "richgo";
|
|
|
|
rev = "v${version}";
|
2019-11-14 23:44:53 +00:00
|
|
|
sha256 = "07ipa54c4mzm6yizgvkm6x5yim1xgv3f0xdxg35qziacdfcwd6m4";
|
2018-08-09 21:04:08 +01:00
|
|
|
};
|
|
|
|
|
2019-11-14 23:44:53 +00:00
|
|
|
modSha256 = "12wbjfqy6qnapm3f2pz1ci1gvc0y8kzr8c99kihyh1jv9r3zy1wz";
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2018-08-09 21:04:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Enrich `go test` outputs with text decorations.";
|
|
|
|
homepage = https://github.com/kyoh86/richgo;
|
2019-11-14 23:44:53 +00:00
|
|
|
license = licenses.mit;
|
2018-08-09 21:04:08 +01:00
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
|
|
};
|
|
|
|
}
|