diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f95592557a95..2a13a6c429b7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13504,6 +13504,15 @@ githubId = 619015; name = "Svintsov Dmitry"; }; + urandom = { + email = "colin@urandom.co.uk"; + github = "arnottcr"; + githubId = 2526260; + keys = [{ + fingerprint = "04A3 A2C6 0042 784A AEA7 D051 0447 A663 F7F3 E236"; + }]; + name = "Colin Arnott"; + }; urbas = { email = "matej.urbas@gmail.com"; github = "urbas"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index b2477665ec90..8f805d1254ee 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -103,6 +103,7 @@ , golint , gomodifytags , gopls +, gotags , gotools , iferr , impl @@ -1045,7 +1046,7 @@ self: super: { gomodifytags gopls # gorename - # gotags + gotags gotools # guru iferr diff --git a/pkgs/development/tools/gotags/default.nix b/pkgs/development/tools/gotags/default.nix new file mode 100644 index 000000000000..c4c0b7cbb06f --- /dev/null +++ b/pkgs/development/tools/gotags/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "gotags"; + version = "1.4.1"; + + src = fetchFromGitHub { + owner = "jstemmer"; + repo = pname; + rev = "4c0c4330071a994fbdfdff68f412d768fbcca313"; + sha256 = "sha256-cHTgt+zW6S6NDWBE6NxSXNPdn84CLD8WmqBe+uXN8sA="; + }; + + goPackagePath = "github.com/jstemmer/gotags"; + + meta = with lib; { + description = "ctags-compatible tag generator for Go"; + homepage = "https://github.com/jstemmer/gotags"; + license = licenses.mit; + maintainers = with maintainers; [ urandom ]; + }; +} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 3d1eb0c2035a..ca228b77f493 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -535,7 +535,6 @@ mapAliases ({ google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07 gosca = throw "gosca has been dropped due to the lack of maintanence from upstream since 2018"; # Added 2022-06-30 - gotags = throw "gotags has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 google-play-music-desktop-player = throw "GPMDP shows a black screen, upstream homepage is dead, use 'ytmdesktop' instead"; # Added 2022-06-16 go-langserver = throw "go-langserver has been replaced by gopls"; # Added 2022-06-30 go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 54a73b520bcc..447c57ec891e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24293,6 +24293,8 @@ with pkgs; gofumpt = callPackage ../development/tools/gofumpt { }; + gotags = callPackage ../development/tools/gotags { }; + go-task = callPackage ../development/tools/go-task { }; golint = callPackage ../development/tools/golint { };