2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jwx";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "2.0.7";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lestrrat-go";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
hash = "sha256-rnzRl7pvX/qBteEbgXrFCzAvtP9Izy6YAZJhy/4nXl4=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
vendorSha256 = "sha256-96Vxl84+xjRGxudBOaMX8LpRxfYqC2c+hVsipT0NLwE=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|