Skip to content

Commit

Permalink
feat: add golangci-lint in nix develop
Browse files Browse the repository at this point in the history
  • Loading branch information
restanrm committed May 16, 2022
1 parent 844ad15 commit 852dc0f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 852dc0f

Please sign in to comment.