2022-08-26 18:19:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jwx";
|
2023-08-28 02:34:38 +00:00
|
|
|
version = "2.0.12";
|
2022-08-26 18:19:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lestrrat-go";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-28 02:34:38 +00:00
|
|
|
hash = "sha256-2Lx9pu5KQut9eXIQYDjFW/pMDzR0eSKMFtSGOPQAkN4=";
|
2022-08-26 18:19:15 +00:00
|
|
|
};
|
|
|
|
|
2023-08-28 02:34:38 +00:00
|
|
|
vendorHash = "sha256-o3EHPIXGLz/io0d8jhl9cxzctP3CeOjEDMQl1SY9lXg=";
|
2022-08-26 18:19:15 +00:00
|
|
|
|
2023-07-25 13:27:31 +00:00
|
|
|
sourceRoot = "${src.name}/cmd/jwx";
|
2022-08-26 18:19:15 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|