depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pbkdf/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

30 lines
694 B
Nix

{ lib
, buildDunePackage
, fetchzip
, cstruct
, mirage-crypto
, alcotest
}:
buildDunePackage rec {
pname = "pbkdf";
version = "1.2.0";
src = fetchzip {
url = "https://github.com/abeaumont/ocaml-pbkdf/archive/${version}.tar.gz";
sha256 = "sha256-dGi4Vw+7VBpK/NpJ6zdpogm+E6G/oJovXCksJBSmqjI=";
};
minimalOCamlVersion = "4.07";
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";
};
}