gotestsum: 1.12.0-unstable-2024-09-17 -> 1.12.1 (#392148)

This commit is contained in:
Peder Bergebakken Sundt
2025-04-19 17:07:57 +02:00
committed by GitHub

View File

@@ -3,41 +3,36 @@
fetchFromGitHub,
buildGoModule,
}:
let
version = "1.12.0";
in
buildGoModule {
buildGoModule (finalAttrs: {
pname = "gotestsum";
# move back to stable releases when build is successful
version = "${version}-unstable-2024-09-17";
version = "1.12.1";
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "2f61a73f997821b2e5a1823496e8362630e213f9";
hash = "sha256-5zgchATcpoM4g5Mxex9wYanzrR0Pie9GYqx48toORkM=";
tag = "v${finalAttrs.version}";
hash = "sha256-nIdGon14bAaSxUmJNlpLztQVbA8SJ76+Ve46gbM0awk=";
};
vendorHash = "sha256-DR4AyEhgD71hFFEAnPfSxaWYFFV7FlPugZBHUjDynEE=";
vendorHash = "sha256-x48jjd6cIX/M8U+5QwrKalt1iLgeQKeJItLJsxXrPgY=";
doCheck = false;
ldflags = [
"-s"
"-w"
"-X gotest.tools/gotestsum/cmd.version=${version}"
"-X gotest.tools/gotestsum/cmd.version=${finalAttrs.version}"
];
subPackages = [ "." ];
meta = {
homepage = "https://github.com/gotestyourself/gotestsum";
changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${version}";
changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${finalAttrs.version}";
description = "Human friendly `go test` runner";
mainProgram = "gotestsum";
platforms = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ isabelroses ];
};
}
})