gometalinter: remove

gometalinter development has stopped. golangci-lint is the replacement
This commit is contained in:
Jörg Thalheim 2020-04-23 08:11:06 +01:00
parent 40793b5e23
commit 019dc065ee
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
4 changed files with 3 additions and 74 deletions

View File

@ -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;
};
}

View File

@ -22,7 +22,7 @@
# vim-go dependencies
, asmfmt, delve, errcheck, godef, golint
, gomodifytags, gotags, gotools, go-motion
, gnused, reftools, gogetdoc, gometalinter
, gnused, reftools, gogetdoc, golangci-lint
, impl, iferr, gocode, gocode-gomod, go-tools
# direnv-vim dependencies
@ -550,7 +550,7 @@ self: super: {
godef
gogetdoc
golint
gometalinter
golangci-lint
gomodifytags
gotags
gotools

View File

@ -169,6 +169,7 @@ mapAliases ({
go-pup = pup; # added 2017-12-19
gobjectIntrospection = gobject-introspection; # added 2018-12-02
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
googleAuthenticator = google-authenticator; # added 2016-10-16
grantlee5 = libsForQt5.grantlee; # added 2015-12-19

View File

@ -8599,8 +8599,6 @@ in
gogetdoc = callPackage ../development/tools/gogetdoc { };
gometalinter = callPackage ../development/tools/gometalinter { };
gox = callPackage ../development/tools/gox { };
gprolog = callPackage ../development/compilers/gprolog { };