about summary refs log tree commit diff
path: root/pkgs/development/tools/gotestfmt
diff options
context:
space:
mode:
authorColin Arnott <colin@urandom.co.uk>2023-01-08 05:33:50 +0000
committerColin Arnott <colin@urandom.co.uk>2023-01-08 05:33:50 +0000
commitb8272de4e71b52689f674c0bf6f38040596ffb59 (patch)
tree5286449c621bfd298ebd95764af555a39c763c7b /pkgs/development/tools/gotestfmt
parent46ee37ca1d9cd3bb18633b4104ef21d9035aac89 (diff)
gotestfmt: init at 2.4.1
Fixes #209348
Diffstat (limited to 'pkgs/development/tools/gotestfmt')
-rw-r--r--pkgs/development/tools/gotestfmt/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/gotestfmt/default.nix b/pkgs/development/tools/gotestfmt/default.nix
new file mode 100644
index 0000000000000..69f90c1f9731f
--- /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 ];
+  };
+}