mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 09:53:17 +00:00
25 lines
682 B
Nix
25 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 ];
|
|
};
|
|
}
|