···22, buildPythonPackage
33, fetchPypi
44, pythonAtLeast
55-, spark_parser
55+, spark-parser
66, xdis
77, nose
88, pytest
···2222 };
23232424 nativeCheckInputs = [ nose pytest hypothesis six ];
2525- propagatedBuildInputs = [ spark_parser xdis ];
2525+ propagatedBuildInputs = [ spark-parser xdis ];
26262727 # six import errors (yet it is supplied...)
2828 checkPhase = ''
+43
pkgs/development/tools/gocode/default.nix
···11+{ lib, buildGoPackage, fetchFromGitHub }:
22+33+buildGoPackage rec {
44+ pname = "gocode-unstable";
55+ version = "2020-04-06";
66+ rev = "4acdcbdea79de6b3dee1c637eca5cbea0fdbe37c";
77+88+ goPackagePath = "github.com/mdempsky/gocode";
99+1010+ # we must allow references to the original `go` package,
1111+ # because `gocode` needs to dig into $GOROOT to provide completions for the
1212+ # standard packages.
1313+ allowGoReference = true;
1414+1515+ src = fetchFromGitHub {
1616+ inherit rev;
1717+1818+ owner = "mdempsky";
1919+ repo = "gocode";
2020+ sha256 = "0i1hc089gb6a4mcgg56vn5l0q96wrlza2n08l4349s3dc2j559fb";
2121+ };
2222+2323+ goDeps = ./deps.nix;
2424+2525+ meta = with lib; {
2626+ description = "An autocompletion daemon for the Go programming language";
2727+ longDescription = ''
2828+ Gocode is a helper tool which is intended to be integrated with your
2929+ source code editor, like vim, neovim and emacs. It provides several
3030+ advanced capabilities, which currently includes:
3131+3232+ - Context-sensitive autocompletion
3333+3434+ It is called daemon, because it uses client/server architecture for
3535+ caching purposes. In particular, it makes autocompletions very fast.
3636+ Typical autocompletion time with warm cache is 30ms, which is barely
3737+ noticeable.
3838+ '';
3939+ homepage = "https://github.com/mdempsky/gocode";
4040+ license = licenses.mit;
4141+ maintainers = with maintainers; [ kalbasit ];
4242+ };
4343+}
+12
pkgs/development/tools/gocode/deps.nix
···11+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
22+[
33+ {
44+ goPackagePath = "golang.org/x/tools";
55+ fetch = {
66+ type = "git";
77+ url = "https://go.googlesource.com/tools";
88+ rev = "72e4a01eba4315301fd9ce00c8c2f492580ded8a";
99+ sha256 = "0a8c7j4w784w441j3j3bh640vy1g6g214641qv485wyi0xj49anf";
1010+ };
1111+ }
1212+]