23 lines
700 B
Nix
23 lines
700 B
Nix
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
{ depot, ... }:
|
||
|
depot.third_party.buildGo.external {
|
||
|
path = "firebase.google.com/go/v4";
|
||
|
src = depot.third_party.nixpkgs.fetchFromGitHub {
|
||
|
owner = "firebase";
|
||
|
repo = "firebase-admin-go";
|
||
|
rev = "v4.6.1";
|
||
|
sha256 = "sha256:02w7vwwqw15z84icq7kf47i402yzsq3r89ay7gihvpzbmjj7g54k";
|
||
|
};
|
||
|
deps = with depot.third_party; [
|
||
|
gopkgs."cloud.google.com".go.firestore
|
||
|
gopkgs."cloud.google.com".go.storage
|
||
|
gopkgs."google.golang.org".api.option
|
||
|
gopkgs."google.golang.org".api.transport
|
||
|
gopkgs."google.golang.org".api.iterator
|
||
|
gopkgs."golang.org".x.oauth2
|
||
|
];
|
||
|
}
|