gocode: extracted from goPackages
This commit is contained in:
parent
4ddfe1fc40
commit
dc2bb06a1b
18
pkgs/development/tools/gocode/default.nix
Normal file
18
pkgs/development/tools/gocode/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "gocode-${version}";
|
||||
version = "20150904-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
rev = "680a0fbae5119fb0dbea5dca1d89e02747a80de0";
|
||||
|
||||
goPackagePath = "github.com/nsf/gocode";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/nsf/gocode";
|
||||
sha256 = "1ay2xakz4bcn8r3ylicbj753gjljvv4cj9l4wfly55cj1vjybjpv";
|
||||
};
|
||||
}
|
@ -11151,7 +11151,7 @@ in
|
||||
inherit (gnome) gtk gtkmm;
|
||||
};
|
||||
|
||||
gocode = goPackages.gocode.bin // { outputs = [ "bin" ]; };
|
||||
gocode = callPackage ../development/tools/gocode { };
|
||||
|
||||
kgocode = callPackage ../applications/misc/kgocode {
|
||||
inherit (pkgs.kde4) kdelibs;
|
||||
|
@ -1063,14 +1063,6 @@ let
|
||||
propagatedBuildInputs = [ inf snappy groupcache ];
|
||||
};
|
||||
|
||||
gocode = buildFromGitHub {
|
||||
rev = "680a0fbae5119fb0dbea5dca1d89e02747a80de0";
|
||||
version = "2015-09-03";
|
||||
owner = "nsf";
|
||||
repo = "gocode";
|
||||
sha256 = "1ay2xakz4bcn8r3ylicbj753gjljvv4cj9l4wfly55cj1vjybjpv";
|
||||
};
|
||||
|
||||
gocolorize = buildGoPackage rec {
|
||||
rev = "v1.0.0";
|
||||
name = "gocolorize-${rev}";
|
||||
|
Loading…
Reference in New Issue
Block a user