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

25 lines
596 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";
2023-07-04 05:11:16 +00:00
version = "1.6.3";
2018-10-31 18:21:52 +00:00
src = fetchFromGitHub {
owner = "kisielk";
repo = "errcheck";
2023-07-04 05:11:16 +00:00
rev = "v${version}";
hash = "sha256-t5ValY4I3RzsomJP7mJjJSN9wU1HLQrajxpqmrri/oU=";
2018-10-31 18:21:52 +00:00
};
2023-07-04 05:11:16 +00:00
vendorHash = "sha256-96+927gNuUMovR4Ru/8BwsgEByNq2EPX7wXWS7+kSL8=";
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 ];
};
}