2020-03-27 08:33:21 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-07-29 19:16:53 +02:00
|
|
|
|
2020-01-01 19:33:38 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "golangci-lint";
|
2020-04-23 09:35:41 +02:00
|
|
|
version = "1.25.0";
|
2018-07-29 19:16:53 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golangci";
|
|
|
|
repo = "golangci-lint";
|
|
|
|
rev = "v${version}";
|
2020-04-23 09:35:41 +02:00
|
|
|
sha256 = "0xf9chk6f1ydg2wyi6wzj2fxl641z7iyk6spp5gb1chq7plsi8sm";
|
2018-07-29 19:16:53 +02:00
|
|
|
};
|
|
|
|
|
2020-04-23 09:35:41 +02:00
|
|
|
modSha256 = "15lb8y4kj2h514nl5517ah3ml9d2i71zv6ah08lpycz1b4v9hlwv";
|
2020-01-01 19:33:38 +01:00
|
|
|
subPackages = [ "cmd/golangci-lint" ];
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2018-07-29 19:16:53 +02:00
|
|
|
description = "Linters Runner for Go. 5x faster than gometalinter. Nice colored output.";
|
2020-03-04 05:33:59 +01:00
|
|
|
homepage = "https://golangci.com/";
|
2018-07-29 19:16:53 +02:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.unix;
|
2019-05-22 20:05:59 +02:00
|
|
|
maintainers = with maintainers; [ anpryl manveru ];
|
2018-07-29 19:16:53 +02:00
|
|
|
};
|
|
|
|
}
|