diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-crypto')
3 files changed, 18 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-crypto/default.nix b/pkgs/development/ocaml-modules/mirage-crypto/default.nix index d5f110948dc93..816709b4cc782 100644 --- a/pkgs/development/ocaml-modules/mirage-crypto/default.nix +++ b/pkgs/development/ocaml-modules/mirage-crypto/default.nix @@ -7,11 +7,11 @@ buildDunePackage rec { minimalOCamlVersion = "4.08"; pname = "mirage-crypto"; - version = "0.10.7"; + version = "0.11.0"; src = fetchurl { url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-${version}.tbz"; - sha256 = "sha256-PoGKdgwjXFtoTHtrQ7HN0qfdBOAQW2gNUk+DbrmIppw="; + sha256 = "sha256-A5SCuVmcIJo3dL0Tu//fQqEV0v3FuCxuANWnBo7hUeQ="; }; doCheck = true; diff --git a/pkgs/development/ocaml-modules/mirage-crypto/rng-lwt.nix b/pkgs/development/ocaml-modules/mirage-crypto/rng-lwt.nix new file mode 100644 index 0000000000000..f6ec2a9e3dae5 --- /dev/null +++ b/pkgs/development/ocaml-modules/mirage-crypto/rng-lwt.nix @@ -0,0 +1,15 @@ +{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator +, duration, logs, mtime, ocaml_lwt }: + +buildDunePackage rec { + pname = "mirage-crypto-rng-lwt"; + + inherit (mirage-crypto) version src; + + doCheck = true; + + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime ocaml_lwt ]; + + meta = mirage-crypto-rng.meta; +} diff --git a/pkgs/development/ocaml-modules/mirage-crypto/rng.nix b/pkgs/development/ocaml-modules/mirage-crypto/rng.nix index 044b8ed27b82e..97de946bc2ccc 100644 --- a/pkgs/development/ocaml-modules/mirage-crypto/rng.nix +++ b/pkgs/development/ocaml-modules/mirage-crypto/rng.nix @@ -10,7 +10,7 @@ buildDunePackage rec { checkInputs = [ ounit2 randomconv ]; buildInputs = [ dune-configurator ]; - propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ]; + propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ]; strictDeps = true; |