2020-11-22 14:50:53 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2018-10-31 19:21:52 +01:00
|
|
|
|
2020-11-22 14:50:53 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "errcheck";
|
2021-02-25 10:17:04 +01:00
|
|
|
version = "1.6.0";
|
2018-10-31 19:21:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kisielk";
|
|
|
|
repo = "errcheck";
|
|
|
|
rev = "v${version}";
|
2021-02-25 10:17:04 +01:00
|
|
|
sha256 = "sha256-Przf2c2jFNdkUq7IOUD7ChXHiSayAz4xTsNzajycYZ0=";
|
2018-10-31 19:21:52 +01:00
|
|
|
};
|
|
|
|
|
2021-01-18 17:15:56 +01:00
|
|
|
vendorSha256 = "sha256-rluaBdW+w2zPThELlBwX/6LXDgc2aIk/ucbrsrABpVc=";
|
2018-10-31 19:21:52 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-26 05:08:40 +01:00
|
|
|
description = "Program for checking for unchecked errors in go programs";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/kisielk/errcheck";
|
2018-10-31 19:21:52 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|