3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/golangci-lint/default.nix

25 lines
667 B
Nix
Raw Normal View History

2019-09-21 10:24:00 +01:00
{ buildGoPackage, fetchFromGitHub, lib }:
2018-07-29 18:16:53 +01:00
2019-09-21 10:24:00 +01:00
buildGoPackage rec {
pname = "golangci-lint";
2019-10-16 21:59:14 +01:00
version = "1.21.0";
2018-07-29 18:16:53 +01:00
goPackagePath = "github.com/golangci/golangci-lint";
subPackages = [ "cmd/golangci-lint" ];
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
2019-10-16 21:59:14 +01:00
sha256 = "0knvb59mg9jrzmfs5nzglz4nv047ayq1xz6dkis74wl1g9xi6yr5";
2018-07-29 18:16:53 +01: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 18:16:53 +01:00
};
}