nixpkgs/pkgs/development/tools/gotestsum/default.nix

24 lines
648 B
Nix
Raw Normal View History

2019-08-31 08:09:32 +00:00
{ stdenv, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "gotestsum";
2020-01-06 15:33:40 +00:00
version = "0.4.0";
2019-08-31 08:09:32 +00:00
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "v${version}";
2020-01-06 15:33:40 +00:00
sha256 = "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0";
2019-08-31 08:09:32 +00:00
};
modSha256 = "1dgs643pmcw68yc003zss52hbvsy6hxzwkrhr0qmsqkmzxryb3bn";
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 ];
};
}