mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
4abbe3c5fc
Go completion wasn't working (at least from youcompleteme); this fixes that.
16 lines
442 B
Nix
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";
|
|
};
|
|
}
|