1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/tools/gotestsum/default.nix

25 lines
720 B
Nix
Raw Normal View History

2019-08-31 09:09:32 +01:00
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "gotestsum";
2020-05-02 12:00:21 +01:00
version = "0.4.2";
2019-08-31 09:09:32 +01:00
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "v${version}";
2020-05-02 12:00:21 +01:00
sha256 = "0zifha3mj7386q2accrdmd8qniingadxz1v8vg4mciwi723msr44";
2019-08-31 09:09:32 +01:00
};
vendorSha256 = "0d45i8wm35m2cdbk48razkdr49a3hfwnp84inlz7hj054cq6vimi";
2020-03-18 06:42:23 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
2019-08-31 09:09:32 +01:00
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 ];
};
}