mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
28 lines
660 B
Nix
28 lines
660 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "jwx";
|
|
version = "2.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lestrrat-go";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-2Lx9pu5KQut9eXIQYDjFW/pMDzR0eSKMFtSGOPQAkN4=";
|
|
};
|
|
|
|
vendorHash = "sha256-o3EHPIXGLz/io0d8jhl9cxzctP3CeOjEDMQl1SY9lXg=";
|
|
|
|
sourceRoot = "${src.name}/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 ];
|
|
};
|
|
}
|