Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildGoModule }:
2
3buildGoModule rec {
4 pname = "errcheck";
5 version = "unstable-2022-03-26";
6
7 src = fetchFromGitHub {
8 owner = "kisielk";
9 repo = "errcheck";
10 rev = "e62617a91f7bd1abab2cbe7f28966188dd85eee0";
11 sha256 = "sha256-RoPv6Odh8l9DF1S50pNEomLtI4uTDNjveOXZd4S52c0=";
12 };
13
14 vendorSha256 = "sha256-fDugaI9Fh0L27yKSFNXyjYLMMDe6CRgE6kVLiJ3+Kyw=";
15
16 subPackages = [ "." ];
17
18 meta = with lib; {
19 description = "Checks for unchecked errors in go programs";
20 homepage = "https://github.com/kisielk/errcheck";
21 license = licenses.mit;
22 maintainers = with maintainers; [ kalbasit ];
23 };
24}