From d47c917fb427190dc8d217cc60406ed2970527b2 Mon Sep 17 00:00:00 2001 From: isabel Date: Mon, 29 Apr 2024 22:12:47 +0100 Subject: [PATCH] gotestsum: 1.10.1 -> 1.11.0 --- pkgs/development/tools/gotestsum/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/gotestsum/default.nix b/pkgs/development/tools/gotestsum/default.nix index f28f3f12970c..5ab4caa621f9 100644 --- a/pkgs/development/tools/gotestsum/default.nix +++ b/pkgs/development/tools/gotestsum/default.nix @@ -3,14 +3,17 @@ fetchFromGitHub, buildGoModule, }: -buildGoModule rec { +let + version = "1.11.0"; +in +buildGoModule { pname = "gotestsum"; - version = "1.10.1"; + inherit version; src = fetchFromGitHub { owner = "gotestyourself"; repo = "gotestsum"; - rev = "refs/tags/v${version}"; + rev = "v${version}"; hash = "sha256-Sq0ejnX7AJoPf3deBge8PMOq1NlMbw+Ljn145C5MQ+s="; }; @@ -26,13 +29,13 @@ buildGoModule rec { subPackages = [ "." ]; - meta = with lib; { + meta = { homepage = "https://github.com/gotestyourself/gotestsum"; changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${version}"; description = "A human friendly `go test` runner"; mainProgram = "gotestsum"; - platforms = platforms.linux ++ platforms.darwin; - license = licenses.asl20; - maintainers = with maintainers; [ isabelroses ]; + platforms = with lib.platforms; linux ++ darwin; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ isabelroses ]; }; }