summary refs log tree commit diff
path: root/pkgs/development/tools/richgo/default.nix
blob: 507402deed6604f64b720a478a12618255c277e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "richgo";
  version = "0.2.8";
  goPackagePath = "github.com/kyoh86/richgo";

  src = fetchFromGitHub {
    owner = "kyoh86";
    repo = "richgo";
    rev = "v${version}";
    sha256 = "0kbwl3a2gima23zmahk0jxp7wga91bs927a1rp5xl889ikng1n4j";
  };

  meta = with stdenv.lib; {
    description = "Enrich `go test` outputs with text decorations.";
    homepage = https://github.com/kyoh86/richgo;
    license = licenses.unlicense; # NOTE: The project switched to MIT in https://git.io/fA1ik
    maintainers = with maintainers; [ rvolosatovs ];
  };
}