diff options
Diffstat (limited to 'pkgs/tools/security/jwx/default.nix')
-rw-r--r-- | pkgs/tools/security/jwx/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/jwx/default.nix b/pkgs/tools/security/jwx/default.nix new file mode 100644 index 00000000000..0b8447e6e48 --- /dev/null +++ b/pkgs/tools/security/jwx/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "jwx"; + version = "2.0.6"; + + src = fetchFromGitHub { + owner = "lestrrat-go"; + repo = pname; + rev = "v${version}"; + hash = "sha256-7X+UeguaWk7+IQ2/PgoFZR7OKpOTzgT/mo8k4eSl53A="; + }; + + vendorSha256 = "sha256-XZk/cwbfg05RkUFMs+AHTfEZiEvqYYoPoSVZVFM967g="; + + sourceRoot = "source/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 ]; + }; +} |