evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / go / gotestsum / package.nix
blob810fe5438fe8b6669cdb81391c84ff60e7d63cfa
2   lib,
3   fetchFromGitHub,
4   buildGoModule,
5 }:
6 let
7   version = "1.12.0";
8 in
9 buildGoModule {
10   pname = "gotestsum";
12   # move back to stable releases when build is successful
13   version = "${version}-unstable-2024-09-17";
15   src = fetchFromGitHub {
16     owner = "gotestyourself";
17     repo = "gotestsum";
18     rev = "2f61a73f997821b2e5a1823496e8362630e213f9";
19     hash = "sha256-5zgchATcpoM4g5Mxex9wYanzrR0Pie9GYqx48toORkM=";
20   };
22   vendorHash = "sha256-DR4AyEhgD71hFFEAnPfSxaWYFFV7FlPugZBHUjDynEE=";
24   doCheck = false;
26   ldflags = [
27     "-s"
28     "-w"
29     "-X gotest.tools/gotestsum/cmd.version=${version}"
30   ];
32   subPackages = [ "." ];
34   meta = {
35     homepage = "https://github.com/gotestyourself/gotestsum";
36     changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${version}";
37     description = "Human friendly `go test` runner";
38     mainProgram = "gotestsum";
39     platforms = with lib.platforms; linux ++ darwin;
40     license = lib.licenses.asl20;
41     maintainers = with lib.maintainers; [ isabelroses ];
42   };