depot/third_party/gopkgs/github.com/pomerium/sdk-go/default.nix

18 lines
528 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/pomerium/sdk-go";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "pomerium";
repo = "sdk-go";
rev = "v0.0.5";
hash = "sha256:08sa6jzixw09w519lr69wb69z7hx1158jbji9kh6f9wvxp0ny9lw";
};
deps = with depot.third_party; [
gopkgs."gopkg.in".square."go-jose.v2"
gopkgs."gopkg.in".square."go-jose.v2".jwt
];
}