ocamlPackages.mirage-crypto: use Dune 3

This commit is contained in:
Vincent Laporte 2023-03-09 18:19:14 +01:00
parent 28716c5794
commit b9e07a88a2
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
7 changed files with 13 additions and 2 deletions

View file

@ -5,6 +5,7 @@
buildDunePackage rec {
minimalOCamlVersion = "4.08";
duneVersion = "3";
pname = "mirage-crypto";
version = "0.11.0";

View file

@ -24,6 +24,8 @@ buildDunePackage rec {
src
version;
duneVersion = "3";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
dune-configurator

View file

@ -6,6 +6,8 @@ buildDunePackage rec {
inherit (mirage-crypto) version src;
duneVersion = "3";
buildInputs = [ gmp ];
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
zarith eqaf sexplib0 ];

View file

@ -8,6 +8,8 @@ buildDunePackage {
inherit (mirage-crypto) version src;
duneVersion = "3";
buildInputs = [
dune-configurator
];

View file

@ -1,15 +1,17 @@
{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator
, duration, logs, mtime, ocaml_lwt }:
, duration, logs, mtime, lwt }:
buildDunePackage rec {
pname = "mirage-crypto-rng-lwt";
inherit (mirage-crypto) version src;
duneVersion = "3";
doCheck = true;
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime ocaml_lwt ];
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime lwt ];
meta = mirage-crypto-rng.meta;
}

View file

@ -7,6 +7,7 @@ buildDunePackage rec {
pname = "mirage-crypto-rng-mirage";
inherit (mirage-crypto-rng) version src;
duneVersion = "3";
doCheck = true;
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];

View file

@ -5,6 +5,7 @@ buildDunePackage rec {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src;
duneVersion = "3";
doCheck = true;
checkInputs = [ ounit2 randomconv ];