depot/third_party/nixpkgs/pkgs/development/tools/gotest/default.nix

25 lines
559 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gotest";
version = "0.0.6";
src = fetchFromGitHub {
owner = "rakyll";
repo = pname;
rev = "v${version}";
sha256 = "1v11ccrjghq7nsz0f91r17di14yixsw28vs0m3dwzwqkh1a20img";
};
vendorSha256 = "sha256-pVq6H1HoKqCMRfJg7FftRf3vh+BWZQe6cQAX+TBzKqw=";
subPackages = [ "." ];
meta = with lib; {
description = "go test with colors";
homepage = "https://github.com/rakyll/gotest";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}