depot/third_party/gopkgs/golang.org/x/crypto/default.nix

17 lines
495 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "golang.org/x/crypto";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "golang";
repo = "crypto";
rev = "7f63de1d35b0f77fa2b9faea3e7deb402a2383c8";
sha256 = "1dr89jfs4dmpr3jqfshqqvfpzzdx4r76nkzhrvmixfrmn6wxrnd1";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.net.idna
];
}