Skip to content

Commit

Permalink
errcheck: 1.6.0 -> unstable-2022-03-26 (#167423)
Browse files Browse the repository at this point in the history
  • Loading branch information
euank authored Apr 8, 2022
1 parent f35d4e3 commit 3cd8c08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 7 additions & 6 deletions pkgs/development/tools/errcheck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

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

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

vendorSha256 = "sha256-rluaBdW+w2zPThELlBwX/6LXDgc2aIk/ucbrsrABpVc=";
vendorSha256 = "sha256-fDugaI9Fh0L27yKSFNXyjYLMMDe6CRgE6kVLiJ3+Kyw=";

subPackages = [ "." ];

meta = with lib; {
description = "Program for checking for unchecked errors in go programs";
description = "Checks for unchecked errors in go programs";
homepage = "https://github.com/kisielk/errcheck";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3100,7 +3100,9 @@ with pkgs;

envsubst = callPackage ../tools/misc/envsubst { };

errcheck = callPackage ../development/tools/errcheck { };
errcheck = callPackage ../development/tools/errcheck {
buildGoModule = buildGo118Module;
};

eschalot = callPackage ../tools/security/eschalot { };

Expand Down

0 comments on commit 3cd8c08

Please sign in to comment.