3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/gocode/default.nix
Charles Strahan 4abbe3c5fc
gocode: 20150904 -> 20170219
Go completion wasn't working (at least from youcompleteme); this fixes
that.
2017-02-24 17:11:25 -05:00

16 lines
442 B
Nix

{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "gocode-${version}";
version = "20170219-${stdenv.lib.strings.substring 0 7 rev}";
rev = "f54790e5d4386b60b80d0c6f9e59db345839d7cc";
goPackagePath = "github.com/nsf/gocode";
src = fetchgit {
inherit rev;
url = "https://github.com/nsf/gocode";
sha256 = "1x9wdahpdkqwqkipxl5m0sh8d59i389rdvrsyz57slpfd0hapkks";
};
}