add caldav and webmachine

This commit is contained in:
Hannes Mehnert 2021-02-15 14:57:49 +01:00
parent 6e6b1a88ec
commit b1ca7046eb
4 changed files with 93 additions and 4 deletions

View file

@ -0,0 +1,62 @@
opam-version: "2.0"
maintainer: [
"Stefanie Schirmer @linse"
"Hannes Mehnert"
]
authors: [
"Stefanie Schirmer @linse"
"Hannes Mehnert"
]
homepage: "https://github.com/roburio/caldav"
bug-reports: "https://github.com/roburio/caldav/issues"
dev-repo: "git+https://github.com/roburio/caldav.git"
tags: ["org:mirage" "org:robur"]
doc: "https://roburio.github.io/caldav/"
license: "ISC"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.07.0"}
"dune" {build}
"alcotest" {with-test & >= "0.8.5"}
"ounit" {with-test & >= "2.0.0"}
"mirage-random-test" {with-test}
"tcpip" {with-test & >= "3.7.0"}
"mirage-clock-unix" {with-test & >= "2.0.0"}
"mirage-kv-mem" {with-test & >= "2.0.0"}
"mirage-kv" {>= "3.0.0"}
"mirage-clock" {>= "2.0.0"}
"mirage-random" {>= "2.0.0"}
"ppx_deriving" {>= "4.3"}
"webmachine" {= "0.7.0~webdav"}
"lwt" {>= "4.0"}
"ptime" {>= "0.8.5"}
"cohttp" {>= "2.0.0"}
"cohttp-lwt" {>= "2.0.0"}
"cohttp-lwt-unix" {with-test & >= "2.0.0"}
"mirage-crypto"
"mirage-crypto-rng"
"base64" {>= "3.0.0"}
"xmlm" {>= "1.3.0"}
"tyxml" {>= "4.3.0"}
"icalendar" {>= "0.1.2"}
"rresult" {>= "0.6.0"}
"sexplib" {>= "v0.12.0"}
"ppx_sexp_conv" {>= "v0.12.0"}
"logs" {>= "0.6.3"}
"hex" {>= "1.4.0"}
"metrics"
]
synopsis: "A CalDAV server"
description: """
A CalDAV server. Supports everything from the roburio/icalendar library.
Also supports a bit of WebDAV.
"""
url {
src: "git+https://github.com/roburio/caldav.git#future"
}

View file

@ -33,8 +33,6 @@ depends: [ "arp" { >= "2.3.0" & < "3.0.0"}
"tls-mirage" { >= "0.12.0" & < "0.13.0"}
"uri"
]
pin-depends: [ ["caldav.dev" "git+https://github.com/roburio/caldav.git#future"]
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"

View file

@ -36,8 +36,6 @@ depends: [ "arp" { >= "2.3.0" & < "3.0.0"}
"tls-mirage" { >= "0.12.0" & < "0.13.0"}
"uri"
]
pin-depends: [ ["caldav.dev" "git+https://github.com/roburio/caldav.git#future"]
]
maintainer: "dummy"
authors: "dummy"
homepage: "dummy"

View file

@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
authors: [ "Spiros Eliopoulos <spiros@inhabitedtype.com>" ]
license: "BSD-3-clause"
homepage: "https://github.com/inhabitedtype/ocaml-webmachine"
dev-repo: "git+https://github.com/inhabitedtype/ocaml-webmachine.git"
bug-reports: "https://github.com/inhabitedtype/ocaml-webmachine/issues"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.03.0"}
"ptime" {>= "0.8.0"}
"cohttp" {>= "1.0.0"}
"dispatch" {>= "0.5.0"}
"dune" {>= "1.0"}
"ounit" {with-test & >= "1.0.2"}
"re" {>= "1.7.2"}
]
synopsis: "A REST toolkit for OCaml"
description: """
OCaml webmachine is a layer on top of cohttp that implements a
state-machine-based HTTP request processor. It's particularly
well-suited for writing RESTful APIs. As the name suggests, this is an
OCaml port of the webmachine project.
"""
url {
src: "git+https://github.com/roburio/ocaml-webmachine.git#webdav"
}