cjose: init at 0.6.1

This commit is contained in:
midchildan 2021-04-04 20:03:43 +09:00
parent 167f3c32a4
commit cfcda0dc34
No known key found for this signature in database
GPG Key ID: D9A5748BACC6E3C2
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, doxygen
, check
, jansson
, openssl
}:
stdenv.mkDerivation rec {
pname = "cjose";
version = "0.6.1";
src = fetchFromGitHub {
owner = "cisco";
repo = "cjose";
rev = version;
sha256 = "1msyjwmylb5c7jc16ryx3xb9cdwx682ihsm0ni766y6dfwx8bkhp";
};
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
buildInputs = [ jansson openssl ];
checkInputs = [ check ];
configureFlags = [
"--with-jansson=${jansson}"
"--with-openssl=${openssl.dev}"
];
meta = with lib; {
homepage = "https://github.com/cisco/cjose";
changelog = "https://github.com/cisco/cjose/blob/${version}/CHANGELOG.md";
description = "C library for Javascript Object Signing and Encryption";
license = licenses.mit;
maintainers = with maintainers; [ midchildan ];
platforms = platforms.all;
};
}

View File

@ -13818,6 +13818,8 @@ in
cimg = callPackage ../development/libraries/cimg { };
cjose = callPackage ../development/libraries/cjose { };
scmccid = callPackage ../development/libraries/scmccid { };
ccrtp = callPackage ../development/libraries/ccrtp { };