opam-version: "2.0"
maintainer: "Alfredo Beaumont <alfredo.beaumont@gmail.com>"
authors: [
  "Alfredo Beaumont <alfredo.beaumont@gmail.com>"
  "Sonia Meruelo <smeruelo@gmail.com>"
]
homepage: "https://github.com/abeaumont/ocaml-scrypt-kdf"
bug-reports: "https://github.com/abeaumont/ocaml-scrypt-kdf/issues"
license: "BSD-2-Clause"
dev-repo: "git+https://github.com/abeaumont/ocaml-scrypt-kdf.git"
build: [
  [
    "ocaml"
    "pkg/build.ml"
    "native=%{ocaml:native}%"
    "native-dynlink=%{ocaml:native-dynlink}%"
    "alcotest=false"
  ]
  [
    "ocaml"
    "pkg/build.ml"
    "native=%{ocaml:native}%"
    "native-dynlink=%{ocaml:native-dynlink}%"
    "alcotest=true"
  ] {with-test}
  ["sh" "-exc" "./run_tests.sh"] {with-test}
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
  "cstruct" {>= "1.7.0"}
  "cstruct" {with-test & < "3.2.0"}
  "nocrypto" {>= "0.5.0"}
  "pbkdf" {>= "0.1.0"}
  "alcotest" {with-test}
  "ocamlbuild" {build}
]
synopsis: "The scrypt Password-Based Key Derivation Function in pure OCaml"
description:
  "A pure OCaml implementation of scrypt password based key derivation function, as defined in The scrypt Password-Based Key Derivation Function internet draft, including test cases from the RFC. It also includes a pure OCaml implementation of Salsa20 Core functions, both Salsa20/20 Core and the reduced Salsa20/8 Core (required by scrypt) and Salsa20/12 Core functions, including test cases from the spec."
url {
  src: "https://github.com/abeaumont/ocaml-scrypt-kdf/archive/0.1.0.tar.gz"
  checksum: "md5=dfb4a5028fa8bd5735a65a994ccad911"
}
