mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
ocamlPackages.mirage-crypto: use Dune 3
This commit is contained in:
parent
28716c5794
commit
b9e07a88a2
7 changed files with 13 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.11.0";
|
||||
|
|
|
@ -24,6 +24,8 @@ buildDunePackage rec {
|
|||
src
|
||||
version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
|
|
|
@ -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 ];
|
||||
|
|
|
@ -8,6 +8,8 @@ buildDunePackage {
|
|||
|
||||
inherit (mirage-crypto) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [
|
||||
dune-configurator
|
||||
];
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
pname = "mirage-crypto-rng";
|
||||
|
||||
inherit (mirage-crypto) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ ounit2 randomconv ];
|
||||
|
|
Loading…
Reference in a new issue