1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 containers,
6 junit_alcotest,
7 astring,
8 base64,
9 x509,
10 yojson,
11 zarith,
12}:
13
14buildDunePackage rec {
15 pname = "jose";
16 version = "0.10.0";
17
18 src = fetchurl {
19 url = "https://github.com/ulrikstrid/ocaml-jose/releases/download/v${version}/${pname}-${version}.tbz";
20 hash = "sha256-F6Odq5JXTkAxdqV3HQusoF+9rvt4BZytslKnsIjJLI8=";
21 };
22
23 propagatedBuildInputs = [
24 astring
25 base64
26 x509
27 yojson
28 zarith
29 ];
30
31 doCheck = true;
32 checkInputs = [
33 containers
34 junit_alcotest
35 ];
36
37 meta = {
38 description = "JOSE specification implementation in OCaml";
39 homepage = "https://github.com/ulrikstrid/ocaml-jose";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [
42 ulrikstrid
43 toastal
44 marijanp
45 ];
46 };
47}