at 22.05-pre 40 lines 897 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoreconfHook 5, pkg-config 6, doxygen 7, check 8, jansson 9, openssl 10}: 11 12stdenv.mkDerivation rec { 13 pname = "cjose"; 14 version = "0.6.1"; 15 16 src = fetchFromGitHub { 17 owner = "cisco"; 18 repo = "cjose"; 19 rev = version; 20 sha256 = "1msyjwmylb5c7jc16ryx3xb9cdwx682ihsm0ni766y6dfwx8bkhp"; 21 }; 22 23 nativeBuildInputs = [ autoreconfHook pkg-config doxygen ]; 24 buildInputs = [ jansson openssl ]; 25 checkInputs = [ check ]; 26 27 configureFlags = [ 28 "--with-jansson=${jansson}" 29 "--with-openssl=${openssl.dev}" 30 ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/cisco/cjose"; 34 changelog = "https://github.com/cisco/cjose/blob/${version}/CHANGELOG.md"; 35 description = "C library for Javascript Object Signing and Encryption"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ midchildan ]; 38 platforms = platforms.all; 39 }; 40}