mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
42 lines
919 B
Nix
42 lines
919 B
Nix
{
|
|
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 = "Human friendly `go test` runner";
|
|
mainProgram = "gotestsum";
|
|
platforms = with lib.platforms; linux ++ darwin;
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ isabelroses ];
|
|
};
|
|
}
|