{ lib, fetchFromGitHub, buildGoModule }: buildGoModule rec { pname = "errcheck"; version = "1.7.0"; src = fetchFromGitHub { owner = "kisielk"; repo = "errcheck"; rev = "v${version}"; hash = "sha256-hl1EbAO4okfTahl+1WDsFuVgm6Ba98Ji0hxqVe7jGbk="; }; vendorHash = "sha256-rO2FoFksN3OdKXwlJBuISs6FmCtepc4FDLdOa5AHvC4="; subPackages = [ "." ]; meta = with lib; { description = "Checks for unchecked errors in go programs"; mainProgram = "errcheck"; homepage = "https://github.com/kisielk/errcheck"; license = licenses.mit; maintainers = with maintainers; [ kalbasit ]; }; }