18 lines
520 B
Nix
18 lines
520 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, ... }:
|
|
depot.third_party.buildGo.external {
|
|
path = "gopkg.in/square/go-jose.v2";
|
|
src = depot.third_party.nixpkgs.fetchFromGitHub {
|
|
owner = "square";
|
|
repo = "go-jose";
|
|
rev = "v2.5.1";
|
|
hash = "sha256:0z0hbmb5yyvnjkyiyn259wkbqbjxs2pzx87jz472shn2bgggxa4n";
|
|
};
|
|
deps = with depot.third_party; [
|
|
gopkgs."golang.org".x.crypto.ed25519
|
|
gopkgs."golang.org".x.crypto.pbkdf2
|
|
];
|
|
}
|