1 { lib, buildDunePackage, fetchurl, cstruct, mirage-crypto, alcotest }:
7 minimalOCamlVersion = "4.08";
11 url = "https://github.com/hannesm/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
12 hash = "sha256-uSbW2krEWquZlzXdK7/R91ETFnENeRr6NhAGtv42/Vs=";
15 propagatedBuildInputs = [ cstruct mirage-crypto ];
16 checkInputs = [ alcotest ];
20 description = "HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)";
21 homepage = "https://github.com/hannesm/ocaml-hkdf";
22 license = licenses.mit;
23 maintainers = with maintainers; [ sternenseemann ];