Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / pbkdf / default.nix
blob1ecf213f6d36961dd347c27e725e2ca3bd6071c9
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , mirage-crypto
5 , alcotest
6 }:
8 buildDunePackage rec {
9   pname = "pbkdf";
10   version = "1.1.0";
12   useDune2 = true;
14   src = fetchurl {
15     url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
16     sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
17   };
19   propagatedBuildInputs = [ mirage-crypto ];
20   checkInputs = [ alcotest ];
21   doCheck = true;
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   };