gocode: Move to go-packages

This commit is contained in:
William A. Kennington III 2015-09-05 00:15:02 -07:00
parent 4b02b32255
commit 8c6088c0ce
3 changed files with 9 additions and 28 deletions

View File

@ -1,27 +0,0 @@
{ lib, goPackages, fetchFromGitHub }:
with goPackages;
buildGoPackage rec {
rev = "9b760fdb16f18eafbe0cd274527efd2bd89dfa78";
name = "gocode-${lib.strings.substring 0 7 rev}";
goPackagePath = "github.com/nsf/gocode";
src = fetchFromGitHub {
inherit rev;
owner = "nsf";
repo = "gocode";
sha256 = "0d1wl0x8jkaav6lcfzs70cr6gy0p88cbk5n3p19l6d0h9xz464ax";
};
subPackages = [ "./" ];
dontInstallSrc = true;
meta = with lib; {
description = "An autocompletion daemon for the Go programming language";
homepage = https://github.com/nsf/gocode;
license = licenses.mit;
maintainers = with maintainers; [ cstrahan ];
platforms = platforms.unix;
};
}

View File

@ -10103,7 +10103,7 @@ let
inherit (gnome) gtk gtkmm;
};
gocode = callPackage ../development/tools/gocode { };
gocode = goPackages.gocode.bin // { outputs = [ "bin" ]; };
gotags = callPackage ../development/tools/gotags { };

View File

@ -767,6 +767,14 @@ let
propagatedBuildInputs = [ inf snappy groupcache ];
};
gocode = buildFromGitHub {
rev = "680a0fbae5119fb0dbea5dca1d89e02747a80de0";
date = "2015-09-03";
owner = "nsf";
repo = "gocode";
sha256 = "1ay2xakz4bcn8r3ylicbj753gjljvv4cj9l4wfly55cj1vjybjpv";
};
gocolorize = buildGoPackage rec {
rev = "v1.0.0";
name = "gocolorize-${rev}";