depot/third_party/nixpkgs/pkgs/tools/security/jwx/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

27 lines
660 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "jwx";
version = "2.0.19";
src = fetchFromGitHub {
owner = "lestrrat-go";
repo = pname;
rev = "v${version}";
hash = "sha256-JR2Z1XOcTfocaXHA+q6INcIZFeuMjB+G16fRmYjOhzU=";
};
vendorHash = "sha256-g97cSHGo0nw7Ker+S/qG0awUf1/UdcSkF55BjMyTfAY=";
sourceRoot = "${src.name}/cmd/jwx";
meta = with lib; {
description = " Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies";
homepage = "https://github.com/lestrrat-go/jwx";
license = licenses.mit;
maintainers = with maintainers; [ arianvp flokli ];
};
}