# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           ocaml 1.1

name                ocaml-hex
github.setup        mirage ${name} 1.5.0 v
revision            0

categories          ocaml devel
license             ISC
maintainers         {landonf @landonf} openmaintainer

description         Hexadecimal converter library for OCaml
long_description    {*}${description}.

github.tarball_from releases

use_bzip2           yes
extract.suffix      .tbz

distname            hex-${version}
checksums           rmd160  b661780d0dc92b5aa022366d7371271efaf5b640 \
                    sha256  2e67eeca1b03049307a30831b5cd694bcb2d3e7f2a6b4fb597fbdb647351b4dc \
                    size    6915

depends_lib         port:ocaml-cstruct \
                    port:ocaml-bigarray-compat

ocaml.build_type    dune
