nixpkgs/pkgs/development/tools/golangci-lint/default.nix

25 lines
667 B
Nix
Raw Normal View History

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 {
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;
maintainers = with maintainers; [ anpryl manveru ];
2018-07-29 19:16:53 +02:00
};
}