nixpkgs/pkgs/tools/security/jwx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
660 B
Nix
Raw Normal View History

2022-08-26 20:19:15 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "jwx";
2023-06-24 12:19:46 +02:00
version = "2.0.11";
2022-08-26 20:19:15 +02:00
src = fetchFromGitHub {
owner = "lestrrat-go";
repo = pname;
rev = "v${version}";
2023-06-24 12:19:46 +02:00
hash = "sha256-8ZzDVCJERf9T9Tlth+9imVJPZIAwffR03S/8UflKjZc=";
2022-08-26 20:19:15 +02:00
};
2023-03-25 10:47:33 +01:00
vendorHash = "sha256-RyAQh1uXw3bEZ6vuh8+mEf8T4l3ZIFAaFJ6dGMoANys=";
2022-08-26 20:19:15 +02:00
sourceRoot = "${src.name}/cmd/jwx";
2022-08-26 20:19:15 +02:00
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 ];
};
}