diff options
-rw-r--r-- | pkgs/development/tools/richgo/default.nix | 21 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/richgo/default.nix b/pkgs/development/tools/richgo/default.nix new file mode 100644 index 0000000000000..aa537df15084c --- /dev/null +++ b/pkgs/development/tools/richgo/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "richgo-${version}"; + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9722e945594e7..493f0d8ae6e7c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4917,6 +4917,8 @@ with pkgs; redsocks = callPackage ../tools/networking/redsocks { }; + richgo = callPackage ../development/tools/richgo { }; + rst2html5 = callPackage ../tools/text/rst2html5 { }; rt = callPackage ../servers/rt { }; |