587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
626 B
Nix
25 lines
626 B
Nix
{ 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 ];
|
|
};
|
|
}
|