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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "errcheck";
|
2020-11-22 13:50:53 +00:00
|
|
|
version = "1.4.0";
|
2018-10-31 18:21:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kisielk";
|
|
|
|
repo = "errcheck";
|
|
|
|
rev = "v${version}";
|
2020-11-22 13:50:53 +00:00
|
|
|
sha256 = "00skyvy31yliw0f395j5h3gichi5n2q1m24izjidxvyc2av7pjn6";
|
2018-10-31 18:21:52 +00:00
|
|
|
};
|
|
|
|
|
2020-11-22 13:50:53 +00:00
|
|
|
vendorSha256 = "0mx506qb5sy6p4zqjs1n0w7dg8pz2wf982qi9v7nrhxysl2rlnxf";
|
2018-10-31 18:21:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Program for checking for unchecked errors in go programs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kisielk/errcheck";
|
2018-10-31 18:21:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|