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:
commit
2a922b7893
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue