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

19 lines
529 B
Nix
Raw Normal View History

# 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";
};
2020-11-04 17:10:15 +00:00
deps = with depot.third_party; [
gopkgs."golang.org".x.sys.cpu
2020-11-04 17:10:15 +00:00
gopkgs."golang.org".x.net.idna
];
}