about summary refs log tree commit diff
path: root/pkgs/tools/security/jwx
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-08-26 20:19:15 +0200
committerFlorian Klink <flokli@flokli.de>2022-08-27 12:30:54 +0200
commitf9200712c5999d9ebc2fac80b9b8f14acfc33eeb (patch)
treed6c04d109bfbf4d215fc764932a8adf557d6f305 /pkgs/tools/security/jwx
parentb30e2234aca018a3d72f27eef3d2b5df7160ddf0 (diff)
jwx: init at 2.0.6
Diffstat (limited to 'pkgs/tools/security/jwx')
-rw-r--r--pkgs/tools/security/jwx/default.nix27
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 0000000000000..0b8447e6e4885
--- /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 ];
+  };
+}