(* Copyright (C) 2015, Thomas Leonard
 * See the README file for details. *)

open Mirage

let main =
  foreign
    ~deps:[abstract nocrypto]
    "Unikernel.Main" (stackv4 @-> kv_ro @-> pclock @-> job)

let conf = crunch "conf"

let packages = [
  package "irmin" ~min:"1.3.0" ~max:"2.0.0";
  package "irmin-git" ~min:"1.3.0" ~max:"2.0.0";
  package "irmin-mem" ~min:"1.3.0" ~max:"2.0.0";
  package "tls";
  package "cohttp-mirage";
]

let () =
  register ~packages "cuekeeper" [
    main $ generic_stackv4 default_network $ conf $ default_posix_clock
  ]

(* Copyright (C) 2015, Thomas Leonard
 * See the README file for details. *)

open Mirage

let main =
  foreign
    ~deps:[abstract nocrypto]
    "Unikernel.Main" (stackv4 @-> kv_ro @-> pclock @-> job)

let conf = crunch "conf"

let packages = [
  package "irmin" ~min:"1.3.0" ~max:"2.0.0";
  package "irmin-git" ~min:"1.3.0" ~max:"2.0.0";
  package "irmin-mem" ~min:"1.3.0" ~max:"2.0.0";
  package "tls" ~max:"0.11.0";
  package "cohttp-mirage";
]

let () =
  register ~packages "cuekeeper" [
    main $ generic_stackv4 default_network $ conf $ default_posix_clock
  ]

Add upper-bound on tls to avoid mirage-crypto
Add upper-bound on tls to avoid mirage-crypto

It needs to be initialised somehow. Might require upgrading the mirage
tool.
