nixpkgs/pkgs/development/tools/gocode/default.nix

16 lines
442 B
Nix
Raw Normal View History

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