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

18 lines
529 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 = "b4ddeeda5bc71549846db71ba23e83ecb26f36ed";
sha256 = "00cg67w0n01a64fc4kqg5j7r47fx5y9vyqlanwb60513dv6lzacs";
};
deps = with depot.third_party; [
gopkgs."golang.org".x.sys.cpu
gopkgs."golang.org".x.net.idna
];
}