1 { lib, ocaml, fetchurl, buildDunePackage
4 , alcotest, astring, bos, findlib, fpath
11 minimalOCamlVersion = "4.08";
14 url = "https://github.com/mirage/digestif/releases/download/v${version}/digestif-${version}.tbz";
15 sha256 = "sha256-edNM5ROxFIV+OAqr328UcyGPGwXdflHQOJB3ntAbRmY=";
18 nativeBuildInputs = [ findlib which ];
19 buildInputs = [ ocaml ];
21 propagatedBuildInputs = [ eqaf ];
23 checkInputs = [ alcotest astring bos fpath ];
27 ocaml -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib/ test/test_runes.ml
31 description = "Simple hash algorithms in OCaml";
32 homepage = "https://github.com/mirage/digestif";
33 license = lib.licenses.mit;
34 maintainers = [ lib.maintainers.vbgl ];