mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
31 lines
700 B
Nix
31 lines
700 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 ];
|
|
nativeCheckInputs = [ 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";
|
|
};
|
|
}
|
|
|