depot/third_party/nixpkgs/pkgs/tools/security/jwx/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
660 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "jwx";
version = "2.0.13";
src = fetchFromGitHub {
owner = "lestrrat-go";
repo = pname;
rev = "v${version}";
hash = "sha256-jtNG/d70Q67IKKEfRBewl40cxH6wYj3CPfx+S/vuQnQ=";
};
vendorHash = "sha256-o3EHPIXGLz/io0d8jhl9cxzctP3CeOjEDMQl1SY9lXg=";
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 ];
};
}