{ lib, fetchFromGitHub, buildGoModule }: buildGoModule rec { pname = "gotestsum"; version = "1.6.3"; src = fetchFromGitHub { owner = "gotestyourself"; repo = "gotestsum"; rev = "v${version}"; sha256 = "sha256-xUDhJLTO3JZ7rlUUzcypUev60qmRK9zOlO2VYeXqT4o="; }; vendorSha256 = "sha256-sHi8iW+ZV/coeAwDUYnSH039UNtUO9HK0Bhz9Gmtv8k="; doCheck = false; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; subPackages = [ "." ]; meta = with lib; { homepage = "https://github.com/gotestyourself/gotestsum"; description = "A human friendly `go test` runner"; platforms = platforms.linux ++ platforms.darwin; license = licenses.asl20; maintainers = with maintainers; [ endocrimes ]; }; }