opam-version: "2.0"
maintainer: [
  "Stefanie Schirmer @linse"
]
authors: [
  "Stefanie Schirmer @linse"
  "Hannes Mehnert"
]
homepage: "https://github.com/roburio/icalendar"
bug-reports: "https://github.com/roburio/icalendar/issues"
dev-repo: "git+https://github.com/roburio/icalendar.git"
tags: ["org:mirage" "org:robur"]
doc: "https://roburio.github.io/icalendar/"
license: "ISC"

build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml" {>= "4.05.0"}
  "dune"
  "alcotest" {with-test & < "1.0.0"}
  "fmt"
  "angstrom" {< "0.14.0"}
  "re"
  "uri"
  "astring"
  "rresult"
  "ptime"
  "ppx_deriving"
  "gmap" {>= "0.3.0"}
]

synopsis: "A library to parse and print the iCalendar (RFC 5545) format"
description: """
Parse and print .ics files as specified in RFC 5545.
Supports recurrent events, but only to the day level of detail.
Does not support vJournal components.
"""
url {
  src:
    "https://github.com/roburio/icalendar/releases/download/v0.1.2/icalendar-v0.1.2.tbz"
  checksum: [
    "sha256=5bb41c000a239d4e7c21d18992dd264e8879185f371bdfde55e307856bc08a7f"
    "sha512=2ccc3b2dbc5d33c555c5c01fd72d0fb431388a3cb569a0e7d4ded15d1d71471204d1cebca50675f6cbd8487b88d34003f238fa7d9cfb996f95b8f8f68149339f"
  ]
}
