From 36fa320e554bcba2abbe48c55b1b4311a9ce8d46 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 19 Dec 2019 16:25:47 +0000 Subject: feat(third_party): Add Go packages for src-d/go-git This is going to be used in my git syncing tool for the cgit setup. --- third_party/gopkgs/golang.org/x/crypto/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 third_party/gopkgs/golang.org/x/crypto/default.nix (limited to 'third_party/gopkgs/golang.org/x/crypto') diff --git a/third_party/gopkgs/golang.org/x/crypto/default.nix b/third_party/gopkgs/golang.org/x/crypto/default.nix new file mode 100644 index 0000000000..9610157d31 --- /dev/null +++ b/third_party/gopkgs/golang.org/x/crypto/default.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +pkgs.buildGo.external { + path = "golang.org/x/crypto"; + src = builtins.fetchGit { + url = "https://go.googlesource.com/crypto"; + rev = "e9b2fee46413994441b28dfca259d911d963dfed"; + }; + + 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