Merge pull request #44205 from manveru/golangci-lint

golangci-lint: init at 1.9.2
This commit is contained in:
Jörg Thalheim 2018-07-30 13:45:44 +01:00 committed by GitHub
commit b4d668859a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ buildGoPackage, fetchFromGitHub, lib }:
buildGoPackage rec {
name = "golangci-lint-${version}";
version = "1.9.2";
goPackagePath = "github.com/golangci/golangci-lint";
subPackages = [ "cmd/golangci-lint" ];
src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "0r05j6ayk5778fkd5r1sgcwq675ra0vq82lqs125g70291ryha08";
};
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 = [ maintainers.manveru ];
};
}

View file

@ -14207,6 +14207,8 @@ with pkgs;
golint = callPackage ../development/tools/golint { };
golangci-lint = callPackage ../development/tools/golangci-lint { };
godef = callPackage ../development/tools/godef { };
goimports = callPackage ../development/tools/goimports { };