ocamlPackages.pbkdf: 1.1.0 → 1.2.0

This commit is contained in:
Vincent Laporte 2022-06-23 09:10:18 +02:00
parent 600d91671e
commit d4b3d027b0
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,22 +1,23 @@
{ lib
, buildDunePackage
, fetchurl
, fetchFromGitHub
, cstruct
, mirage-crypto
, alcotest
}:
buildDunePackage rec {
pname = "pbkdf";
version = "1.1.0";
version = "1.2.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/abeaumont/ocaml-pbkdf/releases/download/${version}/pbkdf-${version}.tbz";
sha256 = "e53ed1bd9abf490c858a341c10fb548bc9ad50d4479acdf95a9358a73d042264";
src = fetchFromGitHub {
owner = "abeaumont";
repo = "ocaml-pbkdf";
rev = version;
sha256 = "sha256-dGi4Vw+7VBpK/NpJ6zdpogm+E6G/oJovXCksJBSmqjI=";
};
propagatedBuildInputs = [ mirage-crypto ];
propagatedBuildInputs = [ cstruct mirage-crypto ];
checkInputs = [ alcotest ];
doCheck = true;