3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #178686 from vbgl/ocaml-pbkdf-1.2.0

ocamlPackages.pbkdf: 1.1.0 → 1.2.0
This commit is contained in:
Thiago Kenji Okada 2022-06-25 16:24:53 +01:00 committed by GitHub
commit 2a922b7893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;