opam-version: "2.0"
maintainer:   "Romain Calascibetta <romain.calascibetta@gmail.com>"
authors:      "Romain Calascibetta <romain.calascibetta@gmail.com>"
homepage:     "https://github.com/dinosaure/duff"
bug-reports:  "https://github.com/dinosaure/duff/issues"
dev-repo: "git+https://github.com/dinosaure/duff.git"
doc:          "https://dinosaure.github.io/duff/"
license:      "MIT"

build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "jbuilder" {>= "1.0+beta9"}
  "fmt"
  "cstruct"
  "cmdliner" {>= "1.0.2"}
  "logs" {>= "0.6.2"}
  "fmt" {>= "0.8.5"}
  "bos" {>= "0.2.0"}
  "fpath" {>= "0.7.0"}
  "alcotest" {with-test}
]
available: arch != "x86_32" & arch != "arm32"
synopsis: "LibXdiff implementation in OCaml"
description: """
Duff is a little library to implement
[libXdiff](http://www.xmailserver.org/xdiff-lib.html) in OCaml. This library is
a part of the [ocaml-git](https://github.com/mirage/ocaml-git) project. This
code is a translation of `diff-delta.c` available on the git project in OCaml.
So, it respects some git's constraints unlike libXdiff."""
url {
  src:
    "https://github.com/dinosaure/duff/releases/download/v0.1/duff-0.1.tbz"
  checksum: "md5=c42d3fcfd1062a3422012b97ee8f543c"
}
