2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jwx";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "2.1.1";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lestrrat-go";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-31 10:19:44 +00:00
|
|
|
hash = "sha256-cYNqe5BZJSYWD7XegVEm5prQjC6uX+JZtJ7AZdFbPu4=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
vendorHash = "sha256-ZS7xliFymXTE8hlc3GEMNonP5sJTZGirw5YQNzPCl3Y=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/cmd/jwx";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = " Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "jwx";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/lestrrat-go/jwx";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ arianvp flokli ];
|
|
|
|
};
|
|
|
|
}
|