mirage-crypto-rng: remove spurious mtime dependency

Also cleans up ocaml_lwt and duneVersion as per review.
This commit is contained in:
Basile Clément 2024-01-10 14:59:40 +01:00 committed by Vincent Laporte
parent 90d6329919
commit 3aff652da4
2 changed files with 3 additions and 4 deletions

View File

@ -1,17 +1,16 @@
{ buildDunePackage, mirage-crypto, ounit2, randomconv, dune-configurator
, cstruct, duration, logs, mtime, ocaml_lwt }:
, cstruct, duration, logs }:
buildDunePackage rec {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src;
duneVersion = "3";
doCheck = true;
checkInputs = [ ounit2 randomconv ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ];
propagatedBuildInputs = [ cstruct mirage-crypto duration logs ];
strictDeps = true;

View File

@ -1110,7 +1110,7 @@ let
mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { mtime = mtime_1; };
mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { };
mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };