depot/third_party/nixpkgs/pkgs/development/tools/go-tools/default.nix

28 lines
648 B
Nix
Raw Normal View History

{ buildGoModule
, lib
, fetchFromGitHub
}:
buildGoModule rec {
pname = "go-tools";
version = "2021.1";
src = fetchFromGitHub {
owner = "dominikh";
repo = "go-tools";
rev = version;
sha256 = "sha256-QhTjzrERhbhCSkPzyLQwFyxrktNoGL9ris+XfE7n5nQ=";
};
vendorSha256 = "sha256-EjCOMdeJ0whp2pHZvm4VV2K78UNKzl98Z/cQvGhWSyY=";
doCheck = false;
meta = with lib; {
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
homepage = "https://staticcheck.io";
license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs kalbasit ];
};
}