depot/third_party/nixpkgs/pkgs/development/ocaml-modules/pbkdf/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

30 lines
701 B
Nix

{ lib
, buildDunePackage
, fetchurl
, mirage-crypto
, alcotest
}:
buildDunePackage rec {
pname = "pbkdf";
version = "1.1.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
};
propagatedBuildInputs = [ 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";
};
}