3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/golangci-lint/default.nix

25 lines
682 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-07-29 18:16:53 +01:00
buildGoModule rec {
pname = "golangci-lint";
version = "1.26.0";
2018-07-29 18:16:53 +01:00
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "1xw6m4ps6yw8gnkwy8v7rrz2b8c8n72cd7vkpx481dkd36vccpkc";
2018-07-29 18:16:53 +01:00
};
modSha256 = "0xgnimr1jydrgwhbyjaz710kx3m3505nhy5cs10p501qxbnzkjf9";
subPackages = [ "cmd/golangci-lint" ];
meta = with lib; {
2018-07-29 18:16:53 +01:00
description = "Linters Runner for Go. 5x faster than gometalinter. Nice colored output.";
2020-03-04 04:33:59 +00:00
homepage = "https://golangci.com/";
2018-07-29 18:16:53 +01:00
license = licenses.agpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ anpryl manveru ];
2018-07-29 18:16:53 +01:00
};
}