blob: 5ab4caa621f9aec09f184ed1c7fd651d88d7d53a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
fetchFromGitHub,
buildGoModule,
}:
let
version = "1.11.0";
in
buildGoModule {
pname = "gotestsum";
inherit version;
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "v${version}";
hash = "sha256-Sq0ejnX7AJoPf3deBge8PMOq1NlMbw+Ljn145C5MQ+s=";
};
vendorHash = "sha256-zUqa6xlDV12ZV4N6+EZ7fLPsL8U+GB7boQ0qG9egvm0=";
doCheck = false;
ldflags = [
"-s"
"-w"
"-X gotest.tools/gotestsum/cmd.version=${version}"
];
subPackages = [ "." ];
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 = with lib.platforms; linux ++ darwin;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ isabelroses ];
};
}
|