diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/jwx/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/jwx/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/jwx/default.nix b/nixpkgs/pkgs/tools/security/jwx/default.nix new file mode 100644 index 000000000000..a290bd9e17eb --- /dev/null +++ b/nixpkgs/pkgs/tools/security/jwx/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "jwx"; + version = "2.0.9"; + + src = fetchFromGitHub { + owner = "lestrrat-go"; + repo = pname; + rev = "v${version}"; + hash = "sha256-0Ha16moHpPt7IwSmSLSf3ExKlp2TDkssPppNIPHrsJw="; + }; + + vendorHash = "sha256-RyAQh1uXw3bEZ6vuh8+mEf8T4l3ZIFAaFJ6dGMoANys="; + + 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 ]; + }; +} |