Merge pull request #191157 from vbgl/ocaml-mirage-unix-5.0.0

ocamlPackages.mirage-unix: 4.0.1 → 5.0.1; mirage-crypto: 0.10.5 → 0.10.7

authored by superherointj and committed by GitHub 1b8ac331 a529c286

+20 -24
+6 -8
pkgs/development/ocaml-modules/mirage-crypto/default.nix
··· 1 - { lib, fetchurl, buildDunePackage, ounit, cstruct, dune-configurator, eqaf, pkg-config 1 + { lib, fetchurl, buildDunePackage, ounit2, cstruct, dune-configurator, eqaf, pkg-config 2 2 , withFreestanding ? false 3 3 , ocaml-freestanding 4 4 }: 5 5 6 6 buildDunePackage rec { 7 - minimumOCamlVersion = "4.08"; 7 + minimalOCamlVersion = "4.08"; 8 8 9 9 pname = "mirage-crypto"; 10 - version = "0.10.5"; 10 + version = "0.10.7"; 11 11 12 12 src = fetchurl { 13 - url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz"; 14 - sha256 = "sha256-eeKMSRZrBiTzWLv80P5LeouPib24uTigk2HLtORKpJU="; 13 + url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-${version}.tbz"; 14 + sha256 = "sha256-PoGKdgwjXFtoTHtrQ7HN0qfdBOAQW2gNUk+DbrmIppw="; 15 15 }; 16 16 17 - useDune2 = true; 18 - 19 17 doCheck = true; 20 - checkInputs = [ ounit ]; 18 + checkInputs = [ ounit2 ]; 21 19 22 20 nativeBuildInputs = [ pkg-config ]; 23 21 buildInputs = [ dune-configurator ];
+1 -3
pkgs/development/ocaml-modules/mirage-crypto/ec.nix
··· 21 21 pname = "mirage-crypto-ec"; 22 22 23 23 inherit (mirage-crypto) 24 - minimumOCamlVersion 25 24 src 26 - version 27 - useDune2; 25 + version; 28 26 29 27 nativeBuildInputs = [ pkg-config ]; 30 28 buildInputs = [
+3 -3
pkgs/development/ocaml-modules/mirage-crypto/pk.nix
··· 1 - { buildDunePackage, ounit, randomconv, mirage-crypto, mirage-crypto-rng 1 + { buildDunePackage, ounit2, randomconv, mirage-crypto, mirage-crypto-rng 2 2 , cstruct, sexplib0, zarith, eqaf, gmp }: 3 3 4 4 buildDunePackage rec { 5 5 pname = "mirage-crypto-pk"; 6 6 7 - inherit (mirage-crypto) version src useDune2 minimumOCamlVersion; 7 + inherit (mirage-crypto) version src; 8 8 9 9 buildInputs = [ gmp ]; 10 10 propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng ··· 13 13 strictDeps = !doCheck; 14 14 15 15 doCheck = true; 16 - checkInputs = [ ounit randomconv ]; 16 + checkInputs = [ ounit2 randomconv ]; 17 17 18 18 meta = mirage-crypto.meta // { 19 19 description = "Simple public-key cryptography for the modern age";
+1 -1
pkgs/development/ocaml-modules/mirage-crypto/rng-async.nix
··· 6 6 buildDunePackage { 7 7 pname = "mirage-crypto-rng-async"; 8 8 9 - inherit (mirage-crypto) useDune2 version minimumOCamlVersion src; 9 + inherit (mirage-crypto) version src; 10 10 11 11 buildInputs = [ 12 12 dune-configurator
+1 -1
pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
··· 6 6 buildDunePackage rec { 7 7 pname = "mirage-crypto-rng-mirage"; 8 8 9 - inherit (mirage-crypto-rng) version src useDune2 minimumOCamlVersion; 9 + inherit (mirage-crypto-rng) version src; 10 10 11 11 doCheck = true; 12 12 checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
+3 -3
pkgs/development/ocaml-modules/mirage-crypto/rng.nix
··· 1 - { buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator 1 + { buildDunePackage, mirage-crypto, ounit2, randomconv, dune-configurator 2 2 , cstruct, duration, logs, mtime, ocaml_lwt }: 3 3 4 4 buildDunePackage rec { 5 5 pname = "mirage-crypto-rng"; 6 6 7 - inherit (mirage-crypto) version src useDune2 minimumOCamlVersion; 7 + inherit (mirage-crypto) version src; 8 8 9 9 doCheck = true; 10 - checkInputs = [ ounit randomconv ]; 10 + checkInputs = [ ounit2 randomconv ]; 11 11 12 12 buildInputs = [ dune-configurator ]; 13 13 propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
+5 -5
pkgs/development/ocaml-modules/mirage-unix/default.nix
··· 1 - { lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime, io-page }: 1 + { lib, buildDunePackage, fetchurl, lwt, duration, mirage-runtime }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "mirage-unix"; 5 - version = "4.0.1"; 5 + version = "5.0.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 9 - sha256 = "sha256-9ymVBb3dkhb+MN97/sXe/oQ36CVx0kruj3sd19LiFZ4="; 8 + url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 9 + sha256 = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg="; 10 10 }; 11 11 12 - propagatedBuildInputs = [ lwt duration mirage-runtime io-page ]; 12 + propagatedBuildInputs = [ lwt duration mirage-runtime ]; 13 13 doCheck = true; 14 14 15 15 meta = with lib; {