83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
28 lines
684 B
Nix
28 lines
684 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "jwx";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lestrrat-go";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-In9/RmcqiOFT1QceWls8gzgzgkBoKeUE05j0cHCecTU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|