mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gotags: Move to go-packages
This commit is contained in:
parent
9a5d1d85af
commit
7baf0e734e
3 changed files with 9 additions and 28 deletions
|
@ -1,27 +0,0 @@
|
|||
{ lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
rev = "a60c6a1b171faedc44354bd437d965e5e3bdc220";
|
||||
name = "gotags-${lib.strings.substring 0 7 rev}";
|
||||
|
||||
goPackagePath = "github.com/jstemmer/gotags";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "jstemmer";
|
||||
repo = "gotags";
|
||||
sha256 = "1drbypby0isdmkq44jmlv59k3jrwvq2jciaccxx2qc2nnx444fkq";
|
||||
};
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ctags-compatible tag generator for Go";
|
||||
homepage = https://github.com/nsf/gotags;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -10105,7 +10105,7 @@ let
|
|||
|
||||
gocode = goPackages.gocode.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
gotags = callPackage ../development/tools/gotags { };
|
||||
gotags = goPackages.gotags.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
golint = goPackages.lint.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
|
|
|
@ -926,6 +926,14 @@ let
|
|||
buildInputs = [ go-charset ];
|
||||
};
|
||||
|
||||
gotags = buildFromGitHub {
|
||||
rev = "be986a34e20634775ac73e11a5b55916085c48e7";
|
||||
date = "2015-08-03";
|
||||
owner = "jstemmer";
|
||||
repo = "gotags";
|
||||
sha256 = "071wyq90b06xlb3bb0l4qjz1gf4nnci4bcngiddfcxf2l41w1vja";
|
||||
};
|
||||
|
||||
gosnappy = buildFromGitHub {
|
||||
rev = "ce8acff4829e0c2458a67ead32390ac0a381c862";
|
||||
owner = "syndtr";
|
||||
|
|
Loading…
Reference in a new issue