{ stdenv, fetchFromGitHub, buildGoModule }: buildGoModule rec { pname = "gotestsum"; version = "0.5.4"; src = fetchFromGitHub { owner = "gotestyourself"; repo = "gotestsum"; rev = "v${version}"; sha256 = "1nmx91a5faixj1pzg9wbmxn8z1mphmdcvd6lajqy1ds21fzn2g1i"; }; vendorSha256 = "02av4z3lxfb6xrv3ij1alf5k8xhxz0dasnf2farbcszz021bzfrq"; doCheck = false; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; subPackages = [ "." ]; meta = with stdenv.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 ]; }; }