ocamlPackages.mirage-crypto*: 0.7.0 → 0.8.0
* ocamlPackages.mirage-crypto * ocamlPackages.mirage-crypto-pk * ocamlPackages.mirage-crypto-rng * ocamlPackages.mirage-crypto-rng-mirage: new package which was previously part of mirage-crypto-rng
This commit is contained in:
parent
4843eab3a1
commit
d78a3bac05
@ -4,11 +4,11 @@ buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
||||
sha256 = "0k7kllv3bh192yj6p9dk2z81r56w7x2kyr46pxygb5gnhqqxcncf";
|
||||
sha256 = "1wb2923v17z179v866ragil0r601w5b3kvpnbkmkwlijp4i5grih";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
18
pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Normal file
18
pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
||||
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng-mirage";
|
||||
|
||||
inherit (mirage-crypto-rng) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
||||
|
||||
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
|
||||
mirage-time mirage-clock ];
|
||||
|
||||
meta = mirage-crypto-rng.meta // {
|
||||
description = "Entropy collection for a cryptographically secure PRNG";
|
||||
};
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
{ buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator
|
||||
, cstruct, duration, logs, mtime, ocaml_lwt, mirage-runtime, mirage-time
|
||||
, mirage-clock, mirage-time-unix, mirage-clock-unix, mirage-unix }:
|
||||
, cstruct, duration, logs, mtime, ocaml_lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng";
|
||||
@ -11,9 +10,7 @@ buildDunePackage {
|
||||
checkInputs = [ ounit randomconv ];
|
||||
|
||||
nativeBuildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt
|
||||
mirage-runtime mirage-time mirage-clock mirage-time-unix
|
||||
mirage-clock-unix mirage-unix ];
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
|
||||
|
||||
meta = mirage-crypto.meta // {
|
||||
description = "A cryptographically secure PRNG";
|
||||
|
@ -531,6 +531,8 @@ let
|
||||
|
||||
mirage-crypto-rng = callPackage ../development/ocaml-modules/mirage-crypto/rng.nix { };
|
||||
|
||||
mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
|
||||
|
||||
mirage-device = callPackage ../development/ocaml-modules/mirage-device { };
|
||||
|
||||
mirage-flow = callPackage ../development/ocaml-modules/mirage-flow { };
|
||||
|
Loading…
Reference in New Issue
Block a user