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