ocamlPackages.mirage-crypto: use Dune 3
This commit is contained in:
parent
28716c5794
commit
b9e07a88a2
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
pname = "mirage-crypto";
|
pname = "mirage-crypto";
|
||||||
version = "0.11.0";
|
version = "0.11.0";
|
||||||
|
|
|
@ -24,6 +24,8 @@ buildDunePackage rec {
|
||||||
src
|
src
|
||||||
version;
|
version;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dune-configurator
|
dune-configurator
|
||||||
|
|
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||||
|
|
||||||
inherit (mirage-crypto) version src;
|
inherit (mirage-crypto) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
|
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
|
||||||
zarith eqaf sexplib0 ];
|
zarith eqaf sexplib0 ];
|
||||||
|
|
|
@ -8,6 +8,8 @@ buildDunePackage {
|
||||||
|
|
||||||
inherit (mirage-crypto) version src;
|
inherit (mirage-crypto) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
dune-configurator
|
dune-configurator
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator
|
{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator
|
||||||
, duration, logs, mtime, ocaml_lwt }:
|
, duration, logs, mtime, lwt }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "mirage-crypto-rng-lwt";
|
pname = "mirage-crypto-rng-lwt";
|
||||||
|
|
||||||
inherit (mirage-crypto) version src;
|
inherit (mirage-crypto) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
buildInputs = [ dune-configurator ];
|
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;
|
meta = mirage-crypto-rng.meta;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ buildDunePackage rec {
|
||||||
pname = "mirage-crypto-rng-mirage";
|
pname = "mirage-crypto-rng-mirage";
|
||||||
|
|
||||||
inherit (mirage-crypto-rng) version src;
|
inherit (mirage-crypto-rng) version src;
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
||||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
||||||
pname = "mirage-crypto-rng";
|
pname = "mirage-crypto-rng";
|
||||||
|
|
||||||
inherit (mirage-crypto) version src;
|
inherit (mirage-crypto) version src;
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ ounit2 randomconv ];
|
checkInputs = [ ounit2 randomconv ];
|
||||||
|
|
Loading…
Reference in a new issue