1 { lib, buildDunePackage, fetchFromGitHub, zlib, dune-configurator, zarith }:
7 minimalOCamlVersion = "4.08";
9 src = fetchFromGitHub {
10 owner = "xavierleroy";
12 rev = "release${lib.replaceStrings ["."] [""] version}";
13 hash = "sha256-8RRAPFgL2pqKotc1I3fIB9q2cNi46SP8pt+0rZM+QUc=";
16 # dont do autotools configuration, but do trigger findlib's preConfigure hook
22 buildInputs = [ dune-configurator ];
23 propagatedBuildInputs = [ zarith zlib ];
28 homepage = "http://pauillac.inria.fr/~xleroy/software.html";
29 description = "A library of cryptographic primitives for OCaml";
30 license = lib.licenses.lgpl2Only;
32 lib.maintainers.maggesi