nixpkgs/pkgs/development/tools/richgo/default.nix

25 lines
612 B
Nix
Raw Normal View History

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 {
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
};
vendorSha256 = "1nvk3akjwfcbvif1w4cglsqplcajlwq3mnvk9b75nmn9qaqfbfjf";
2019-11-14 23:44:53 +00:00
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 ];
};
}