opam-version: "2.0"
maintainer:   "mirageos-devel@lists.xenproject.org"
authors: [
  "Thomas Gazagnaire"
  "Anil Madhavapeddy"
  "Dave Scott"
  "Thomas Leonard"
  "Gabriel Radanne"
]
homepage: "https://github.com/mirage/functoria"
bug-reports: "https://github.com/mirage/functoria/issues"
license: "ISC"
dev-repo: "git+https://github.com/mirage/functoria.git"
build: [
  ["./configure" "--prefix=%{prefix}%" "--%{ounit:enable}%-tests"]
  [make]
  [make "test"] {with-test}
]
install: [make "install"]
remove: ["ocamlfind" "remove" "functoria"]
depends: [
  "ocaml" {>= "4.01" & < "4.07.0"}
  "ocamlfind" {build}
  "base-unix"
  "cmdliner" {>= "0.9.8"}
  "rresult"
  "fmt"
  "ocamlgraph"
  "ounit" {with-test & >= "2.0.0"}
]
synopsis: "A DSL to organize functor applications."
description: """
Functoria is a DSL to describe a set of modules and functors, their
types and how to apply them in order to produce a complete
application.

The main use case is mirage. See the mirage repository for details:

    https://github.com/mirage/mirage"""
flags: light-uninstall
url {
  src: "https://github.com/mirage/functoria/archive/1.1.0.tar.gz"
  checksum: "md5=a46aa627a472db9b9dd1bdfd8c45eaf6"
}
