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

25 lines
685 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-07-29 10:16:53 -07:00
buildGoModule rec {
pname = "golangci-lint";
2020-07-07 23:42:40 -07:00
version = "1.28.1";
2018-07-29 10:16:53 -07:00
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
2020-07-07 23:42:40 -07:00
sha256 = "18rhd5baqg68wsil8rqzg1yiqys4y53lqy8gcp68wn4i4jnvkgsm";
2018-07-29 10:16:53 -07:00
};
2020-07-07 23:42:40 -07:00
vendorSha256 = "0dg3rjzkvzh4n7r4kp68qhg96ijqks9hkz1cjcc02xa38ygma7gz";
subPackages = [ "cmd/golangci-lint" ];
meta = with lib; {
2018-07-29 10:16:53 -07:00
description = "Linters Runner for Go. 5x faster than gometalinter. Nice colored output.";
2020-03-03 20:33:59 -08:00
homepage = "https://golangci.com/";
2018-07-29 10:16:53 -07:00
license = licenses.agpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ anpryl manveru ];
2018-07-29 10:16:53 -07:00
};
}