5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
684 B
Nix
28 lines
684 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "jwx";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lestrrat-go";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-cYNqe5BZJSYWD7XegVEm5prQjC6uX+JZtJ7AZdFbPu4=";
|
|
};
|
|
|
|
vendorHash = "sha256-ZS7xliFymXTE8hlc3GEMNonP5sJTZGirw5YQNzPCl3Y=";
|
|
|
|
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 ];
|
|
};
|
|
}
|