nixpkgs/pkgs/development/tools/errcheck/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
643 B
Nix
Raw Normal View History

2020-11-22 13:50:53 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
2018-10-31 18:21:52 +00:00
2020-11-22 13:50:53 +00:00
buildGoModule rec {
pname = "errcheck";
version = "unstable-2022-03-26";
2018-10-31 18:21:52 +00:00
src = fetchFromGitHub {
owner = "kisielk";
repo = "errcheck";
rev = "e62617a91f7bd1abab2cbe7f28966188dd85eee0";
sha256 = "sha256-RoPv6Odh8l9DF1S50pNEomLtI4uTDNjveOXZd4S52c0=";
2018-10-31 18:21:52 +00:00
};
vendorSha256 = "sha256-fDugaI9Fh0L27yKSFNXyjYLMMDe6CRgE6kVLiJ3+Kyw=";
subPackages = [ "." ];
2018-10-31 18:21:52 +00:00
meta = with lib; {
description = "Checks for unchecked errors in go programs";
homepage = "https://github.com/kisielk/errcheck";
2018-10-31 18:21:52 +00:00
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};
}