lol
1{ lib
2, buildDunePackage
3, fetchurl
4, mirage-crypto
5, alcotest
6}:
7
8buildDunePackage rec {
9 pname = "pbkdf";
10 version = "1.1.0";
11
12 useDune2 = true;
13
14 src = fetchurl {
15 url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
16 sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
17 };
18
19 propagatedBuildInputs = [ mirage-crypto ];
20 checkInputs = [ alcotest ];
21 doCheck = true;
22
23 meta = {
24 description = "Password based key derivation functions (PBKDF) from PKCS#5";
25 maintainers = [ lib.maintainers.sternenseemann ];
26 license = lib.licenses.bsd2;
27 homepage = "https://github.com/abeaumont/ocaml-pbkdf";
28 };
29}
30