summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-02-28 05:49:06 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2023-03-07 08:37:31 +0100
commitb13286ad0271612bcc0e7bb198da42b37bc2eaf5 (patch)
tree96817f431ab78209251a905dbf8cdc2b42cc1141
parent7fa20e70ea7e1c98e8f6ae1d90564d1d0444e4f2 (diff)
ocamlPackages.mirage-protocols: 5.0.0 → 8.0.0
-rw-r--r--pkgs/development/ocaml-modules/mirage-protocols/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-protocols/default.nix b/pkgs/development/ocaml-modules/mirage-protocols/default.nix
index 9f144bd2d7ee..2c80507051e5 100644
--- a/pkgs/development/ocaml-modules/mirage-protocols/default.nix
+++ b/pkgs/development/ocaml-modules/mirage-protocols/default.nix
@@ -1,17 +1,24 @@
-{ lib, buildDunePackage, fetchurl, duration, ipaddr, mirage-device, mirage-flow }:
+{ lib
+, buildDunePackage
+, fetchurl
+, arp
+, ethernet
+, ipaddr
+, tcpip
+}:
buildDunePackage rec {
pname = "mirage-protocols";
- version = "5.0.0";
+ version = "8.0.0";
- useDune2 = true;
+ duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
- sha256 = "1bd6zgxhq2qliyzzarfvaj3ksr20ryghxq6h24i2hha7rwim63bk";
+ hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
};
- propagatedBuildInputs = [ duration ipaddr mirage-device mirage-flow ];
+ propagatedBuildInputs = [ arp ethernet ipaddr tcpip ];
meta = {
description = "MirageOS signatures for network protocols";