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

25 lines
682 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-07-29 19:16:53 +02:00
buildGoModule rec {
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";
subPackages = [ "cmd/golangci-lint" ];
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;
maintainers = with maintainers; [ anpryl manveru ];
2018-07-29 19:16:53 +02:00
};
}