2022-07-14 12:49:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, asciidoc
|
2020-04-24 23:36:52 +00:00
|
|
|
, zlib, jansson, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jose";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "latchset";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
hash = "sha256-TKcXswF50B8MS+XHSEvqHaFSAct7VdsnZ0RtZCF04Lc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
nativeBuildInputs = [ meson pkg-config ninja asciidoc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ zlib jansson openssl ];
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C-language implementation of Javascript Object Signing and Encryption";
|
|
|
|
homepage = "https://github.com/latchset/jose";
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|