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

25 lines
631 B
Nix
Raw Normal View History

2019-06-25 21:17:17 +02:00
{ buildGoModule
, lib
2018-11-03 04:20:14 +01:00
, fetchFromGitHub
}:
2019-06-25 21:17:17 +02:00
buildGoModule rec {
pname = "go-tools";
2020-05-15 04:21:21 +02:00
version = "2020.1.4";
2018-11-03 04:20:14 +01:00
src = fetchFromGitHub {
owner = "dominikh";
repo = "go-tools";
2019-06-25 21:17:17 +02:00
rev = version;
2020-05-15 04:21:21 +02:00
sha256 = "182j3zzx1bj4j4jiamqn49v9nd3vcrx727f7i9zgcrgmiscvw3mh";
2018-11-03 04:20:14 +01:00
};
vendorSha256 = "0nbbngsphklzhcmqafrw1im2l1vnfcma9sb4vskdpdrsadv5ss5r";
2018-11-03 04:20:14 +01:00
meta = with lib; {
2020-02-21 13:35:00 +01: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 04:20:14 +01:00
license = licenses.mit;
2019-05-24 20:54:31 +02:00
maintainers = with maintainers; [ rvolosatovs kalbasit ];
2018-11-03 04:20:14 +01:00
};
}