From 9594203e07f51541b56ac08c752d5f30ec2d2de2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 13 Dec 2019 12:12:06 +0000 Subject: feat(third_party/gopkgs): Import external packages for Google Cloud These packages contain the Cloud SDK for Go. There is currently a linker issue (presumably due to something in `buildGo.nix`) that means that projects using them can not actually be built. --- third_party/gopkgs/golang.org/x/net/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 third_party/gopkgs/golang.org/x/net/default.nix (limited to 'third_party/gopkgs/golang.org/x/net/default.nix') diff --git a/third_party/gopkgs/golang.org/x/net/default.nix b/third_party/gopkgs/golang.org/x/net/default.nix new file mode 100644 index 0000000000..571a2b1d36 --- /dev/null +++ b/third_party/gopkgs/golang.org/x/net/default.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +pkgs.buildGo.external { + path = "golang.org/x/net"; + src = builtins.fetchGit { + url = "https://go.googlesource.com/net"; + rev = "74dc4d7220e7acc4e100824340f3e66577424772"; + }; + + deps = with pkgs.third_party; [ + gopkgs."golang.org".x.text.secure.bidirule.gopkg + gopkgs."golang.org".x.text.unicode.bidi.gopkg + gopkgs."golang.org".x.text.unicode.norm.gopkg + ]; +} -- cgit 1.4.1