889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
31 lines
666 B
Nix
31 lines
666 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchFromGitHub
|
|
, cstruct
|
|
, mirage-crypto
|
|
, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pbkdf";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "abeaumont";
|
|
repo = "ocaml-pbkdf";
|
|
rev = version;
|
|
sha256 = "sha256-dGi4Vw+7VBpK/NpJ6zdpogm+E6G/oJovXCksJBSmqjI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cstruct mirage-crypto ];
|
|
checkInputs = [ alcotest ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Password based key derivation functions (PBKDF) from PKCS#5";
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
license = lib.licenses.bsd2;
|
|
homepage = "https://github.com/abeaumont/ocaml-pbkdf";
|
|
};
|
|
}
|
|
|