gometalinter: remove
gometalinter development has stopped. golangci-lint is the replacement
This commit is contained in:
parent
40793b5e23
commit
019dc065ee
@ -1,70 +0,0 @@
|
|||||||
{ buildGoPackage
|
|
||||||
, deadcode
|
|
||||||
, errcheck
|
|
||||||
, fetchFromGitHub
|
|
||||||
, go
|
|
||||||
, go-check
|
|
||||||
, go-tools
|
|
||||||
, goconst
|
|
||||||
, gocyclo
|
|
||||||
, golint
|
|
||||||
, gosec
|
|
||||||
, gotools
|
|
||||||
, ineffassign
|
|
||||||
, maligned
|
|
||||||
, interfacer
|
|
||||||
, lib
|
|
||||||
, makeWrapper
|
|
||||||
, unconvert
|
|
||||||
}:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
runtimeDeps = [
|
|
||||||
deadcode
|
|
||||||
errcheck
|
|
||||||
go
|
|
||||||
go-check
|
|
||||||
go-tools
|
|
||||||
goconst
|
|
||||||
gocyclo
|
|
||||||
golint
|
|
||||||
gosec
|
|
||||||
gotools
|
|
||||||
ineffassign
|
|
||||||
interfacer
|
|
||||||
maligned
|
|
||||||
unconvert
|
|
||||||
];
|
|
||||||
|
|
||||||
in buildGoPackage rec {
|
|
||||||
pname = "gometalinter";
|
|
||||||
version = "3.0.0";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/alecthomas/gometalinter";
|
|
||||||
excludedPackages = "\\(regressiontests\\)";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "alecthomas";
|
|
||||||
repo = "gometalinter";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "06dd60531qp0hxfwnxnyi36d6div1j781jvcb99ykhgrg0kwmzq9";
|
|
||||||
};
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
wrapProgram $bin/bin/gometalinter --prefix PATH : "${makeBinPath runtimeDeps}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
allowGoReference = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Concurrently run Go lint tools and normalise their output";
|
|
||||||
homepage = "https://github.com/alecthomas/gometalinter";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ kalbasit rvolosatovs ];
|
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
|
||||||
};
|
|
||||||
}
|
|
@ -22,7 +22,7 @@
|
|||||||
# vim-go dependencies
|
# vim-go dependencies
|
||||||
, asmfmt, delve, errcheck, godef, golint
|
, asmfmt, delve, errcheck, godef, golint
|
||||||
, gomodifytags, gotags, gotools, go-motion
|
, gomodifytags, gotags, gotools, go-motion
|
||||||
, gnused, reftools, gogetdoc, gometalinter
|
, gnused, reftools, gogetdoc, golangci-lint
|
||||||
, impl, iferr, gocode, gocode-gomod, go-tools
|
, impl, iferr, gocode, gocode-gomod, go-tools
|
||||||
|
|
||||||
# direnv-vim dependencies
|
# direnv-vim dependencies
|
||||||
@ -550,7 +550,7 @@ self: super: {
|
|||||||
godef
|
godef
|
||||||
gogetdoc
|
gogetdoc
|
||||||
golint
|
golint
|
||||||
gometalinter
|
golangci-lint
|
||||||
gomodifytags
|
gomodifytags
|
||||||
gotags
|
gotags
|
||||||
gotools
|
gotools
|
||||||
|
@ -169,6 +169,7 @@ mapAliases ({
|
|||||||
go-pup = pup; # added 2017-12-19
|
go-pup = pup; # added 2017-12-19
|
||||||
gobjectIntrospection = gobject-introspection; # added 2018-12-02
|
gobjectIntrospection = gobject-introspection; # added 2018-12-02
|
||||||
goimports = gotools; # added 2018-09-16
|
goimports = gotools; # added 2018-09-16
|
||||||
|
gometalinter = throw "Abandoned by upstream. Consider switching to golangci-lint instead"; # added 2020-04-23
|
||||||
google-gflags = gflags; # added 2019-07-25
|
google-gflags = gflags; # added 2019-07-25
|
||||||
googleAuthenticator = google-authenticator; # added 2016-10-16
|
googleAuthenticator = google-authenticator; # added 2016-10-16
|
||||||
grantlee5 = libsForQt5.grantlee; # added 2015-12-19
|
grantlee5 = libsForQt5.grantlee; # added 2015-12-19
|
||||||
|
@ -8599,8 +8599,6 @@ in
|
|||||||
|
|
||||||
gogetdoc = callPackage ../development/tools/gogetdoc { };
|
gogetdoc = callPackage ../development/tools/gogetdoc { };
|
||||||
|
|
||||||
gometalinter = callPackage ../development/tools/gometalinter { };
|
|
||||||
|
|
||||||
gox = callPackage ../development/tools/gox { };
|
gox = callPackage ../development/tools/gox { };
|
||||||
|
|
||||||
gprolog = callPackage ../development/compilers/gprolog { };
|
gprolog = callPackage ../development/compilers/gprolog { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user