2018-10-31 18:21:52 +00:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "errcheck";
|
2018-10-31 18:21:52 +00:00
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/kisielk/errcheck";
|
|
|
|
excludedPackages = "\\(testdata\\)";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kisielk";
|
|
|
|
repo = "errcheck";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "19vd4rxmqbk5lpiav3pf7df3yjlz0l0dwx9mn0gjq5f998iyhy6y";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "errcheck is a 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;
|
|
|
|
};
|
|
|
|
}
|