587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
28 lines
685 B
Nix
28 lines
685 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "jwx";
|
|
version = "2.0.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lestrrat-go";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Rg3E+7kyyzY8NqfXMH3ENWAuCxx7+3DyyarfGNI9xxE=";
|
|
};
|
|
|
|
vendorHash = "sha256-HHq4B0MYP2gUtV9ywrXVmWN7OpV6NVb49rVMFblOgPc=";
|
|
|
|
sourceRoot = "${src.name}/cmd/jwx";
|
|
|
|
meta = with lib; {
|
|
description = " Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies";
|
|
mainProgram = "jwx";
|
|
homepage = "https://github.com/lestrrat-go/jwx";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ arianvp flokli ];
|
|
};
|
|
}
|