feat: add golangci-lint in nix develop

This commit is contained in:
Adrien Raffin-Caboisse 2022-05-16 14:40:05 +02:00
parent 844ad15109
commit 852dc0f4de
No known key found for this signature in database
GPG Key ID: 7FB60532DEBEAD6A
1 changed files with 18 additions and 0 deletions

View File

@ -36,6 +36,24 @@
nativeBuildInputs = [ pkgs.installShellFiles ];
};
golangci-lint =
pkgs.buildGoModule rec {
pname = "golangci-lint";
version = "1.46.1";
src = pkgs.fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "sha256-BUXEg+4r9L/gqe4DhTlhN55P3jWt7ZyWFQycO6QePrw=";
};
vendorSha256 = "sha256-sEzWUeVk5GB0H41wrp12P8sBWRjg0FHUX6ABDEEBqK8=";
nativeBuildInputs = [ pkgs.installShellFiles ];
};
protoc-gen-grpc-gateway =
pkgs.buildGoModule rec {
pname = "grpc-gateway";