2016-06-06 02:28:52 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
2016-06-04 14:01:13 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gocode-${version}";
|
2017-02-24 23:11:25 +01:00
|
|
|
version = "20170219-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "f54790e5d4386b60b80d0c6f9e59db345839d7cc";
|
2016-06-04 14:01:13 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/nsf/gocode";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/nsf/gocode";
|
2017-02-24 23:11:25 +01:00
|
|
|
sha256 = "1x9wdahpdkqwqkipxl5m0sh8d59i389rdvrsyz57slpfd0hapkks";
|
2016-06-04 14:01:13 +02:00
|
|
|
};
|
|
|
|
}
|