caldav: upgrade to mirage 4

This commit is contained in:
Hannes Mehnert 2022-10-28 16:10:14 +02:00
parent 57272be65a
commit 231be75dd8
2 changed files with 72 additions and 51 deletions

View file

@ -1,51 +0,0 @@
# Generated by ./config.exe configure -t hvt --allocation-policy=best-fit (2022-01-09 13:27:47-00:00).
opam-version: "2.0"
name: "mirage-unikernel-caldav-hvt"
depends: [ "arp" { >= "3.0.0" & < "4.0.0"}
"caldav"
"cohttp-mirage" { >= "4.0.0" & < "6.0.0"}
"conduit-mirage" { >= "5.0.0" & < "6.0.0"}
"crunch" {build & >= "3.1.0" & < "4.0.0"}
"ethernet" { >= "3.0.0" & < "4.0.0"}
"fmt" { >= "0.8.7" }
"functoria-runtime"
"git-mirage" { >= "3.7.0" & < "3.8.0"}
"icalendar" { >= "0.1.3"}
"irmin-git" { >= "2.10.0"}
"irmin-mirage-git" { >= "2.10.0"}
"lwt"
"mimic"
"mirage" {build & >= "3.10.0" & < "3.11.0"}
"mirage-bootvar-solo5" { >= "0.6.0" & < "0.7.0"}
"mirage-clock-freestanding" { >= "3.0.0" & < "5.0.0"}
"mirage-crypto-rng-mirage" { >= "0.8.0" & < "0.11.0"}
"mirage-kv-mem" { >= "3.0.0" & < "4.0.0"}
"mirage-logs" { >= "1.2.0" & < "2.0.0"}
"mirage-net-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-runtime" { >= "3.10.0" & < "3.11.0"}
"mirage-solo5" { >= "0.6.1" & < "0.7.0"}
"mirage-types" { >= "3.10.0" & < "3.11.0"}
"mirage-types-lwt" { >= "3.10.0" & < "3.11.0"}
"ocaml" {build & >= "4.08.0"}
"ocamlbuild" {build}
"ocamlfind" {build}
"paf" { >= "0.0.8" & < "0.0.9"}
"solo5-bindings-hvt" { >= "0.6.0" & < "0.7.0"}
"tcpip" { >= "7.0.0" & < "8.0.0"}
"tls-mirage" { >= "0.13.0" & < "0.16.0"}
"uri"
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git+https://example.com/nonexistent"
build: [ "sh" "-exc" "cd mirage && fetch https://github.com/sg2342/caldavzap/archive/e2895d3d578c53fa38e12023a9d3b107055af131.tar.gz && tar -C caldavzap -x -s /caldavzap-e2895d3d578c53fa38e12023a9d3b107055af131// -f e2895d3d578c53fa38e12023a9d3b107055af131.tar.gz && mirage configure -t hvt --allocation-policy=best-fit && mirage build" ]
synopsis: "A CalDAV unikernel (RFC 4791) using a remote git repository for data storage"
install: [
[ "cp" "mirage/caldav.hvt" "%{bin}%/caldav.hvt" ]
[ "strip" "%{bin}%/caldav.hvt" ]
[ "cp" "mirage/caldav.hvt" "%{prefix}%/caldav.hvt.debug" ]
[ "cp" "README.md" "%{prefix}%/README.md" ]
]
url { src: "git+https://github.com/roburio/caldav.git" }

View file

@ -0,0 +1,72 @@
# Generated by mirage.v4.3.1
opam-version: "2.0"
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"
bug-reports: "dummy"
dev-repo: "git://dummy"
synopsis: "A CalDAV unikernel (RFC 4791) using a remote git repository for data storage"
build: ["sh" "-exc" "cd mirage/ && fetch https://github.com/sg2342/caldavzap/archive/e2895d3d578c53fa38e12023a9d3b107055af131.tar.gz && tar -C caldavzap -x -s /caldavzap-e2895d3d578c53fa38e12023a9d3b107055af131// -f e2895d3d578c53fa38e12023a9d3b107055af131.tar.gz && mirage build"]
install: [
[ "cp" "mirage/dist/caldav.hvt" "%{bin}%/caldav.hvt" ]
[ "strip" "%{bin}%/caldav.hvt" ]
[ "cp" "mirage/dist/caldav.hvt" "%{prefix}%/caldav.hvt.debug" ]
[ "cp" "README.md" "%{prefix}%/README.md" ]
]
depends: [
"arp" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"caldav" { ?monorepo }
"cohttp-mirage" { ?monorepo & >= "4.0.0" & < "6.0.0" }
"conduit-mirage" { ?monorepo & >= "6.0.1" & < "7.0.0" }
"crunch" { ?monorepo & build & >= "3.1.0" & < "4.0.0" }
"dns-client" { ?monorepo & >= "6.2.0" & < "7.0.0" }
"ethernet" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"fmt" { ?monorepo & >= "0.8.7" }
"git-mirage" { ?monorepo & >= "3.10.0" & < "3.11.0" }
"git-paf" { ?monorepo & >= "3.10.0" }
"happy-eyeballs-mirage" { ?monorepo & >= "0.3.0" & < "1.0.0" }
"icalendar" { ?monorepo & >= "0.1.3" }
"irmin-git" { ?monorepo & >= "2.10.0" }
"irmin-mirage-git" { ?monorepo & >= "2.10.0" }
"lwt" { ?monorepo }
"mimic" { ?monorepo }
"mimic-happy-eyeballs" { ?monorepo & >= "0.0.5" }
"mirage" { build & >= "4.3.1" & < "4.4.0" }
"mirage-bootvar-solo5" { ?monorepo & >= "0.6.0" & < "0.7.0" }
"mirage-clock-solo5" { ?monorepo & >= "4.2.0" & < "5.0.0" }
"mirage-crypto-rng-mirage" { ?monorepo & >= "0.8.0" & < "0.11.0" }
"mirage-kv-mem" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"mirage-logs" { ?monorepo & >= "1.2.0" & < "2.0.0" }
"mirage-net-solo5" { ?monorepo & >= "0.8.0" & < "0.9.0" }
"mirage-random" { ?monorepo & >= "3.0.0" & < "4.0.0" }
"mirage-runtime" { ?monorepo & >= "4.3.1" & < "4.4.0" }
"mirage-solo5" { ?monorepo & >= "0.9.0" & < "0.10.0" }
"mirage-time" { ?monorepo }
"ocaml" { build & >= "4.08.0" }
"ocaml-solo5" { build & >= "0.8.1" & < "0.9.0" }
"opam-monorepo" { build & >= "0.3.2" }
"tcpip" { ?monorepo & >= "7.0.0" & >= "7.1.0" & < "8.0.0" }
"tls-mirage" { ?monorepo & >= "0.13.0" & < "0.16.0" }
"uri" { ?monorepo }
]
x-mirage-opam-lock-location: "mirage/mirage/caldav-hvt.opam.locked"
x-mirage-configure: ["sh" "-exc" "cd mirage/ && mirage configure -t hvt --allocation-policy=best-fit --context ./mirage/context --no-extra-repo"]
x-mirage-pre-build: [make "-Cmirage/" "lock" "depext-lockfile" "pull"]
x-mirage-extra-repo: [
["opam-overlays" "https://github.com/dune-universe/opam-overlays.git"]
["mirage-overlays" "https://github.com/dune-universe/mirage-opam-overlays.git"]]
x-opam-monorepo-opam-provided: ["mirage"
"ocaml""ocaml-solo5"
"opam-monorepo"]
url { src: "git+https://github.com/roburio/caldav.git" }