@@ -1,9 +1,9 @@
11{ stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
4− name = "gocode-${version}";
5− version = "20180727-${stdenv.lib.strings.substring 0 7 rev}";
6− rev = "00e7f5ac290aeb20a3d8d31e737ae560a191a1d5";
4+ name = "gocode-unstable-${version}";
5+ version = "2018-10-22";
6+ rev = "e893215113e5f7594faa3a8eb176c2700c921276";
77
88 goPackagePath = "github.com/mdempsky/gocode";
99
@@ -13,12 +13,15 @@ buildGoPackage rec {
1313 allowGoReference = true;
1414
1515 src = fetchFromGitHub {
16+ inherit rev;
17+
1618 owner = "mdempsky";
1719 repo = "gocode";
18− inherit rev;
19− sha256 = "0vrwjq4r90za47hm88yx5h2mvkv7y4yaj2xbx3skg62wq2drsq31";
20+ sha256 = "1zsll7yghv64890k7skl0g2lg9rsaiisgrfnb8kshsxrcxi1kc2l";
2021 };
2122
23+ goDeps = ./deps.nix;
24+
2225 preBuild = ''
2326 # getting an error building the testdata because they contain invalid files
2427 # on purpose as part of the testing.