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