errcheck: 1.6.0 -> unstable-2022-03-26 (#167423)

This commit is contained in:
Euan Kemp 2022-04-08 07:53:31 -07:00 committed by GitHub
parent f35d4e3c73
commit 3cd8c0878f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View file

@ -2,22 +2,23 @@
buildGoModule rec { buildGoModule rec {
pname = "errcheck"; pname = "errcheck";
version = "1.6.0"; version = "unstable-2022-03-26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kisielk"; owner = "kisielk";
repo = "errcheck"; repo = "errcheck";
rev = "v${version}"; rev = "e62617a91f7bd1abab2cbe7f28966188dd85eee0";
sha256 = "sha256-Przf2c2jFNdkUq7IOUD7ChXHiSayAz4xTsNzajycYZ0="; sha256 = "sha256-RoPv6Odh8l9DF1S50pNEomLtI4uTDNjveOXZd4S52c0=";
}; };
vendorSha256 = "sha256-rluaBdW+w2zPThELlBwX/6LXDgc2aIk/ucbrsrABpVc="; vendorSha256 = "sha256-fDugaI9Fh0L27yKSFNXyjYLMMDe6CRgE6kVLiJ3+Kyw=";
subPackages = [ "." ];
meta = with lib; { 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"; homepage = "https://github.com/kisielk/errcheck";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ kalbasit ]; maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View file

@ -3100,7 +3100,9 @@ with pkgs;
envsubst = callPackage ../tools/misc/envsubst { }; envsubst = callPackage ../tools/misc/envsubst { };
errcheck = callPackage ../development/tools/errcheck { }; errcheck = callPackage ../development/tools/errcheck {
buildGoModule = buildGo118Module;
};
eschalot = callPackage ../tools/security/eschalot { }; eschalot = callPackage ../tools/security/eschalot { };