biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / gotestsum / default.nix
blobb5baad2037e4e9ebef37e469daa1d46bb787af36
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "gotestsum";
8   version = "1.10.1";
10   src = fetchFromGitHub {
11     owner = "gotestyourself";
12     repo = "gotestsum";
13     rev = "refs/tags/v${version}";
14     hash = "sha256-Sq0ejnX7AJoPf3deBge8PMOq1NlMbw+Ljn145C5MQ+s=";
15   };
17   vendorHash = "sha256-zUqa6xlDV12ZV4N6+EZ7fLPsL8U+GB7boQ0qG9egvm0=";
19   doCheck = false;
21   ldflags = [
22     "-s"
23     "-w"
24     "-X gotest.tools/gotestsum/cmd.version=${version}"
25   ];
27   subPackages = [ "." ];
29   meta = with lib; {
30     homepage = "https://github.com/gotestyourself/gotestsum";
31     changelog = "https://github.com/gotestyourself/gotestsum/releases/tag/v${version}";
32     description = "A human friendly `go test` runner";
33     mainProgram = "gotestsum";
34     platforms = platforms.linux ++ platforms.darwin;
35     license = licenses.asl20;
36     maintainers = with maintainers; [ endocrimes ];
37   };