2019-09-21 11:24:00 +02:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib }:
|
2018-07-29 19:16:53 +02:00
|
|
|
|
2019-09-21 11:24:00 +02:00
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "golangci-lint";
|
2019-10-16 22:59:14 +02:00
|
|
|
version = "1.21.0";
|
2018-07-29 19:16:53 +02:00
|
|
|
goPackagePath = "github.com/golangci/golangci-lint";
|
|
|
|
|
|
|
|
subPackages = [ "cmd/golangci-lint" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golangci";
|
|
|
|
repo = "golangci-lint";
|
|
|
|
rev = "v${version}";
|
2019-10-16 22:59:14 +02:00
|
|
|
sha256 = "0knvb59mg9jrzmfs5nzglz4nv047ayq1xz6dkis74wl1g9xi6yr5";
|
2018-07-29 19:16:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Linters Runner for Go. 5x faster than gometalinter. Nice colored output.";
|
|
|
|
homepage = https://golangci.com/;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|