2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jwx";
|
2022-12-02 08:20:57 +00:00
|
|
|
version = "2.0.8";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lestrrat-go";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-12-02 08:20:57 +00:00
|
|
|
hash = "sha256-eoXSSXh9NxWLgogrE2hDjsPxqeUmH54TnYXwhm7kpz4=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
vendorSha256 = "sha256-fbNnSjUOHnm/zxEGdhHQEKHgYp+nW1rgvMGJBm4b9IM=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|