From b8272de4e71b52689f674c0bf6f38040596ffb59 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Sun, 8 Jan 2023 05:33:50 +0000 Subject: [PATCH] gotestfmt: init at 2.4.1 Fixes #209348 --- pkgs/development/tools/gotestfmt/default.nix | 23 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/gotestfmt/default.nix diff --git a/pkgs/development/tools/gotestfmt/default.nix b/pkgs/development/tools/gotestfmt/default.nix new file mode 100644 index 000000000000..69f90c1f9731 --- /dev/null +++ b/pkgs/development/tools/gotestfmt/default.nix @@ -0,0 +1,23 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "gotestfmt"; + version = "2.4.1"; + + src = fetchFromGitHub { + owner = "gotesttools"; + repo = pname; + rev = "v${version}"; + hash = "sha256-Rb/nIsHISzvqd+jJU4TNrHbailvgGEq4y0JuM9IdA3w="; + }; + + vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + + meta = with lib; { + description = "Go test output for humans"; + homepage = "https://github.com/gotesttools/gotestfmt"; + changelog = "https://github.com/GoTestTools/gotestfmt/releases/tag/v${version}"; + license = licenses.unlicense; + maintainers = with maintainers; [ urandom ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1d2827699754..b59dc8b08301 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25890,6 +25890,8 @@ with pkgs; gotest = callPackage ../development/tools/gotest { }; + gotestfmt = callPackage ../development/tools/gotestfmt { }; + gotools = callPackage ../development/tools/gotools { }; gotop = callPackage ../tools/system/gotop {