Skip to content

Commit

Permalink
[Backport release-24.11] ocamlPackages.mirage-crypto-rng-eio: init at…
Browse files Browse the repository at this point in the history
… 1.1.0 (#364012)
  • Loading branch information
ulrikstrid authored Dec 11, 2024
2 parents fe30593 + 8b4dc86 commit 623d80a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/ocaml-modules/mirage-crypto/rng-eio.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
buildDunePackage,
mirage-crypto,
mirage-crypto-rng,
dune-configurator,
eio,
eio_main,
ohex,
}:

buildDunePackage rec {
pname = "mirage-crypto-rng-eio";

inherit (mirage-crypto) version src;

doCheck = true;
checkInputs = [
eio_main
ohex
];

buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
mirage-crypto
mirage-crypto-rng
eio
];

meta = mirage-crypto-rng.meta;
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,8 @@ let

mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };

mirage-crypto-rng-eio = callPackage ../development/ocaml-modules/mirage-crypto/rng-eio.nix { };

mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { };

mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
Expand Down

0 comments on commit 623d80a

Please sign in to comment.