1 { lib, buildDunePackage, fetchFromGitHub, zlib, dune-configurator, zarith }:
8 minimalOCamlVersion = "4.08";
10 src = fetchFromGitHub {
11 owner = "xavierleroy";
13 rev = "release${lib.replaceStrings ["."] [""] version}";
14 hash = "sha256-8ae8hroCSkp4O5vM/qVOhAnnJJ+uygMYm3ix5ytwtHU=";
17 # dont do autotools configuration, but do trigger findlib's preConfigure hook
23 buildInputs = [ dune-configurator ];
24 propagatedBuildInputs = [ zarith zlib ];
29 homepage = "http://pauillac.inria.fr/~xleroy/software.html";
30 description = "A library of cryptographic primitives for OCaml";
31 license = lib.licenses.lgpl2Only;
33 lib.maintainers.maggesi