nixpkgs/pkgs/development/tools/golangci-lint/default.nix
2020-04-23 09:35:41 +02:00

24 lines
682 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "golangci-lint";
version = "1.25.0";
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "0xf9chk6f1ydg2wyi6wzj2fxl641z7iyk6spp5gb1chq7plsi8sm";
};
modSha256 = "15lb8y4kj2h514nl5517ah3ml9d2i71zv6ah08lpycz1b4v9hlwv";
subPackages = [ "cmd/golangci-lint" ];
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 ];
};
}