Merge pull request #114459 from pnotequalnp/libjwt

This commit is contained in:
Sandro 2021-03-04 14:00:07 +01:00 committed by GitHub
commit d6eb2044a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -7477,6 +7477,16 @@
githubId = 11365056;
name = "Kevin Liu";
};
pnotequalnp = {
email = "kevin@pnotequalnp.com";
github = "pnotequalnp";
githubId = 46154511;
name = "Kevin Mullins";
keys = [{
longkeyid = "rsa4096/361820A45DB41E9A";
fingerprint = "2CD2 B030 BD22 32EF DF5A 008A 3618 20A4 5DB4 1E9A";
}];
};
polyrod = {
email = "dc1mdp@gmail.com";
github = "polyrod";

View File

@ -0,0 +1,24 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config, jansson, openssl }:
stdenv.mkDerivation rec {
pname = "libjwt";
version = "1.12.1";
src = fetchFromGitHub {
owner = "benmcollins";
repo = "libjwt";
rev = "v${version}";
sha256 = "1c69slf9k56gh0xcg6269v712ysm6wckracms4grdsc72xg6x7h2";
};
buildInputs = [ jansson openssl ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
homepage = "https://github.com/benmcollins/libjwt";
description = "JWT C Library";
license = licenses.mpl20;
maintainers = with maintainers; [ pnotequalnp ];
platforms = platforms.all;
};
}

View File

@ -15380,6 +15380,8 @@ in
libmicrohttpd = libmicrohttpd_0_9_72;
};
libjwt = callPackage ../development/libraries/libjwt { };
libkate = callPackage ../development/libraries/libkate { };
libkeyfinder = callPackage ../development/libraries/libkeyfinder { };