depot/third_party/gopkgs/github.com/google/safehtml/default.nix

18 lines
518 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 = "github.com/google/safehtml";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "google";
repo = "safehtml";
rev = "84376441970934a68e39214e319511a596b8d015";
hash = "sha256:0w25d86rz7afrnk349g6qsdf0fglsazrr1xzxgaw44rqj315wqf2";
};
deps = [
depot.third_party.gopkgs."golang.org".x.text.unicode.rangetable
];
}