opam-version: "2.0"
license: "MIT"
maintainer: "Florian Angeletti <octa@polychoron.fr>"
authors: "Florian Angeletti <octa@polychoron.fr>"
dev-repo: "git+https://github.com/Octachron/phantom_algebra.git"
doc: "https://Octachron.github.io/phantom_algebra/docs"
homepage: "https://github.com/Octachron/phantom_algebra"
bug-reports: "https://github.com/Octachron/phantom_algebra/issues"

build: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "build" "-p" name "-j" jobs "@doc"] {with-doc}
]
depends: [
  "ocaml" {>= "4.02.3"}
  "jbuilder"
  "cppo" {build}
]
synopsis: "A strongly-typed tensor library à la GLSL"
description: """
Phantom-algebra is a pure OCaml library implementing strongly-typed
small tensors with dimensions 0 ≤ 4, rank ≤ 2, and limited to square matrices.

It makes it possible to manipulate vector and matrix expressions with an
uniform notation while still catching non-sensical operations at compile time"""
url {
  src:
    "https://github.com/Octachron/phantom_algebra/releases/download/1.0/phantom-algebra-1.0.tbz"
  checksum: "md5=b49521d4a6265d10fbdc64504ce438a5"
}
