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

28 lines
650 B
Nix
Raw Normal View History

2019-06-25 20:17:17 +01:00
{ buildGoModule
, lib
2018-11-03 03:20:14 +00:00
, fetchFromGitHub
}:
2019-06-25 20:17:17 +01:00
buildGoModule rec {
pname = "go-tools";
version = "2020.2";
2018-11-03 03:20:14 +00:00
src = fetchFromGitHub {
owner = "dominikh";
repo = "go-tools";
2019-06-25 20:17:17 +01:00
rev = version;
sha256 = "1qqpr481rx6n75xp1racsjjyn2fa8f28pcb0r9kd56qq890h3qgj";
2018-11-03 03:20:14 +00:00
};
vendorSha256 = "1axci0l7pymy66j6lilm49ksrwp7dvnj5krai2kvy96n3arcnsvq";
2018-11-03 03:20:14 +00:00
doCheck = false;
meta = with lib; {
2020-02-21 12:35:00 +00:00
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
homepage = "https://staticcheck.io";
2018-11-03 03:20:14 +00:00
license = licenses.mit;
2019-05-24 19:54:31 +01:00
maintainers = with maintainers; [ rvolosatovs kalbasit ];
2018-11-03 03:20:14 +00:00
};
}