go-errorlint: init at 1.4.5
This commit is contained in:
parent
0f58b779ca
commit
48839cd0f1
29
pkgs/by-name/go/go-errorlint/package.nix
Normal file
29
pkgs/by-name/go/go-errorlint/package.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-errorlint";
|
||||
version = "1.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polyfloyd";
|
||||
repo = "go-errorlint";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BU+3sLUGBCFA1JYFxTEyIan+iWB7Y7SaMFVomfNObMg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xn7Ou4l8vbPD44rsN0mdFjTzOvkfv6QN6i5XR1XPxTE=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A source code linter that can be used to find code that will cause problems with Go's error wrapping scheme";
|
||||
homepage = "https://github.com/polyfloyd/go-errorlint";
|
||||
changelog = "https://github.com/polyfloyd/go-errorlint/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ meain ];
|
||||
mainProgram = "go-errorlint";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user