about summary refs log tree commit diff
path: root/pkgs/development/tools/errcheck/default.nix
blob: eb8fd99f9e5a1cd5ef5a492a89a9d14b080f2f96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "errcheck";
  version = "unstable-2022-03-26";

  src = fetchFromGitHub {
    owner = "kisielk";
    repo = "errcheck";
    rev = "e62617a91f7bd1abab2cbe7f28966188dd85eee0";
    sha256 = "sha256-RoPv6Odh8l9DF1S50pNEomLtI4uTDNjveOXZd4S52c0=";
  };

  vendorSha256 = "sha256-fDugaI9Fh0L27yKSFNXyjYLMMDe6CRgE6kVLiJ3+Kyw=";

  subPackages = [ "." ];

  meta = with lib; {
    description = "Checks for unchecked errors in go programs";
    homepage = "https://github.com/kisielk/errcheck";
    license = licenses.mit;
    maintainers = with maintainers; [ kalbasit ];
  };
}