opam-version: "2.0"
maintainer: "mike.mcclurg@gmail.com"
authors: ["Mike McClurg"]
homepage: "https://github.com/mcclurmc/ocaml-opasswd"
license: "ISC"
tags: ["org:xapi-project"]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "oPasswd"]]
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind"
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/mcclurmc/ocaml-opasswd"
install: ["ocaml" "setup.ml" "-install"]
synopsis:
  "This is an OCaml binding to the glibc passwd file and shadow password"
description: """
file interface. It can be used to read, parse, manipulate and write
passwd and shadow files on Linux systems. It might also work on other
nix's, but I haven't tested."""
flags: light-uninstall
url {
  src: "https://github.com/mcclurmc/ocaml-opasswd/archive/0.9.1.tar.gz"
  checksum: "md5=e0090e804d8e06ca8942df19b8a69402"
}
